Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00813/0.008131, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001827/0.001827, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.361/2.361, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7543, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003617/0.758, allocations: 2.17 MB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.76, allocations: 1.215 MB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.7603, allocations: 7.906 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.7608, allocations: 152 kB / 0.9531 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.7612, allocations: 141.5 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.7618, allocations: 203.4 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.7623, allocations: 336.1 kB / 0.9537 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.7625, allocations: 83.84 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.7628, allocations: 134.2 kB / 0.9539 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.763, allocations: 158.1 kB / 0.9541 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.7631, allocations: 6.625 kB / 0.9541 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.7632, allocations: 53.42 kB / 0.9541 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.7634, allocations: 83.59 kB / 0.9542 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.7635, allocations: 139.8 kB / 0.9543 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.7638, allocations: 318.7 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7638, allocations: 1.031 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7638, allocations: 0 / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.7639, allocations: 0 / 0.9546 GB, free: 5.379 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001191/0.7651, allocations: 0.6693 MB / 0.9553 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7651, allocations: 8.406 kB / 0.9553 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.7652, allocations: 43.03 kB / 0.9553 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.7657, allocations: 390 kB / 0.9557 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.7658, allocations: 12.72 kB / 0.9557 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.7658, allocations: 11 kB / 0.9557 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.7661, allocations: 118.4 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7661, allocations: 1.219 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.7661, allocations: 0 / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7661, allocations: 7.281 kB / 0.9559 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.7663, allocations: 62.41 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.7671, allocations: 0.5388 MB / 0.9564 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.7675, allocations: 128.2 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.7676, allocations: 46.36 kB / 0.9566 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.7676, allocations: 7.578 kB / 0.9566 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.7678, allocations: 109.8 kB / 0.9567 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.7678, allocations: 4 kB / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000497/0.7683, allocations: 210.3 kB / 0.9569 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.7684, allocations: 56.62 kB / 0.957 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.769, allocations: 0.5249 MB / 0.9575 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.769, allocations: 36.66 kB / 0.9575 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7691, allocations: 178.6 kB / 0.9577 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.7692, allocations: 34.02 kB / 0.9577 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.7693, allocations: 69.91 kB / 0.9578 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.7693, allocations: 352.6 kB / 0.9581 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.7695, allocations: 100.9 kB / 0.9582 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.7698, allocations: 128 kB / 0.9584 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.77, allocations: 177.4 kB / 0.9585 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.77, allocations: 0 / 0.9585 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005205/0.7706, allocations: 317.9 kB / 0.9588 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7706, allocations: 9.406 kB / 0.9588 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7706, allocations: 0 / 0.9588 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7706, allocations: 2.156 kB / 0.9588 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.7708, allocations: 47.95 kB / 0.9589 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7708, allocations: 6.203 kB / 0.9589 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.771, allocations: 25.02 kB / 0.9589 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.771, allocations: 8.438 kB / 0.9589 GB, free: 2.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.7712, allocations: 180.1 kB / 0.9591 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.7713, allocations: 35.47 kB / 0.9591 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.7714, allocations: 45.59 kB / 0.9592 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7714, allocations: 1.594 kB / 0.9592 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7714, allocations: 1.125 kB / 0.9592 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7714, allocations: 0 / 0.9592 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.7716, allocations: 311.5 kB / 0.9595 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7716, allocations: 4 kB / 0.9595 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.7717, allocations: 7.312 kB / 0.9595 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7717, allocations: 7.922 kB / 0.9595 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.7717, allocations: 6.156 kB / 0.9595 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7717, allocations: 5 kB / 0.9595 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7717, allocations: 0 / 0.9595 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.772, allocations: 191.5 kB / 0.9597 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.7721, allocations: 115 kB / 0.9598 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.7722, allocations: 14.17 kB / 0.9598 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.7723, allocations: 11.23 kB / 0.9598 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.7724, allocations: 19.28 kB / 0.9598 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.7724, allocations: 4.219 kB / 0.9598 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003615/0.7728, allocations: 326.3 kB / 0.9602 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7728, allocations: 0 / 0.9602 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003316/0.7731, allocations: 66.05 kB / 0.9602 GB, free: 1.121 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.7741, allocations: 441.8 kB / 0.9606 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.7745, allocations: 186.8 kB / 0.9608 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7746, allocations: 0 / 0.9608 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.7747, allocations: 55.22 kB / 0.9609 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.7752, allocations: 85.28 kB / 0.9609 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.7762, allocations: 0.6745 MB / 0.9616 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.7765, allocations: 0.7996 MB / 0.9624 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.7766, allocations: 34.61 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7767, allocations: 0 / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.009533/0.7862, allocations: 4.592 MB / 0.9669 GB, free: 13.15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches