Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003952, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8652, allocations: 142.4 MB / 0.9544 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001007/0.8663, allocations: 483.2 kB / 0.9549 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.8673, allocations: 0.8634 MB / 0.9557 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.8673, allocations: 1.438 kB / 0.9557 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.8674, allocations: 3.938 kB / 0.9558 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.8675, allocations: 9.125 kB / 0.9558 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.8676, allocations: 26.31 kB / 0.9558 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.8678, allocations: 79.62 kB / 0.9559 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.8679, allocations: 16.3 kB / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.868, allocations: 29.16 kB / 0.9559 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.8681, allocations: 39.98 kB / 0.9559 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.8681, allocations: 6.969 kB / 0.9559 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.8682, allocations: 4.344 kB / 0.956 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.8682, allocations: 14.2 kB / 0.956 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.8682, allocations: 36.7 kB / 0.956 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.8683, allocations: 64.06 kB / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8683, allocations: 0 / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8683, allocations: 0 / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8683, allocations: 0 / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000563/0.8689, allocations: 400 kB / 0.9564 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.869, allocations: 13.03 kB / 0.9565 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.869, allocations: 7.188 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8691, allocations: 171.6 kB / 0.9566 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.8692, allocations: 7.031 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.8692, allocations: 3.406 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.8695, allocations: 118.3 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.8695, allocations: 0 / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.8695, allocations: 5 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.8696, allocations: 5.078 kB / 0.9568 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.8699, allocations: 129.4 kB / 0.9569 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.8704, allocations: 351.8 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.871, allocations: 136.4 kB / 0.9573 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.8712, allocations: 63.72 kB / 0.9574 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.8712, allocations: 1.25 kB / 0.9574 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.8712, allocations: 35.56 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.8712, allocations: 0 / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006386/0.8719, allocations: 204.2 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8719, allocations: 57.17 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.872, allocations: 128.1 kB / 0.9578 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.872, allocations: 35.8 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.8721, allocations: 93.89 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.8721, allocations: 23.41 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.8721, allocations: 0 / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.8722, allocations: 320.8 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.8724, allocations: 57.36 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.8725, allocations: 53.2 kB / 0.9584 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.8727, allocations: 53.06 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8727, allocations: 0 / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003718/0.8731, allocations: 162.4 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8731, allocations: 5.406 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8731, allocations: 0 / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8731, allocations: 1.781 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.8733, allocations: 34.69 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8733, allocations: 2.062 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.8734, allocations: 20.34 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.8734, allocations: 1.375 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/0.8735, allocations: 117.9 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.8736, allocations: 10.61 kB / 0.9588 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.8736, allocations: 17.69 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8736, allocations: 1.375 kB / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8736, allocations: 0 / 0.9588 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8736, allocations: 3.984 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.8738, allocations: 200.9 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8738, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.8739, allocations: 27.22 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8739, allocations: 5.328 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.874, allocations: 9.359 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.874, allocations: 0 / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.874, allocations: 0.5469 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.8744, allocations: 257.7 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.8744, allocations: 79.86 kB / 0.9593 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.8744, allocations: 3.953 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.8746, allocations: 21.73 kB / 0.9594 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.8747, allocations: 22.84 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.8747, allocations: 1.375 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.8747, allocations: 96.89 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8747, allocations: 0 / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002266/0.875, allocations: 20.22 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.8751, allocations: 108.9 kB / 0.9596 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.8755, allocations: 132.8 kB / 0.9597 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8755, allocations: 0 / 0.9597 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.8757, allocations: 75.94 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.876, allocations: 9.672 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.8765, allocations: 194.1 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.8766, allocations: 0.6939 MB / 0.9607 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.8767, allocations: 11.03 kB / 0.9607 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.8768, allocations: 16.02 kB / 0.9607 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8768, allocations: 0 / 0.9607 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.004259/0.881, allocations: 1.301 MB / 0.962 GB, free: 1.871 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches