Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008283/0.008283, allocations: 102 kB / 15.73 MB, free: 6.039 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.001259/0.001259, allocations: 194 kB / 16.67 MB, free: 5.961 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 68.11 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.263, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005751/1.269, allocations: 1.93 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002586/1.272, allocations: 1.118 MB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/1.272, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005698/1.272, allocations: 95.56 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/1.273, allocations: 95.58 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/1.273, allocations: 163.4 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000377/1.274, allocations: 219.4 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/1.274, allocations: 45.66 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/1.274, allocations: 103.6 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/1.274, allocations: 103.5 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/1.274, allocations: 16 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/1.275, allocations: 59.97 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/1.275, allocations: 55.81 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/1.275, allocations: 91.36 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/1.275, allocations: 268.9 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.275, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/1.275, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.275, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001011/1.276, allocations: 0.5413 MB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.276, allocations: 15.97 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/1.276, allocations: 28.64 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/1.277, allocations: 287.2 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.277, allocations: 11.98 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.277, allocations: 8 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/1.277, allocations: 124.6 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.277, allocations: 3.938 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.277, allocations: 7.938 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.277, allocations: 4 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/1.278, allocations: 83.92 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/1.278, allocations: 448.4 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/1.279, allocations: 130.6 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/1.279, allocations: 52.83 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.279, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/1.279, allocations: 131.4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/1.279, allocations: 4 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007017/1.28, allocations: 248.2 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.28, allocations: 55.39 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/1.28, allocations: 334.4 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/1.281, allocations: 29.7 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.281, allocations: 132.5 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/1.281, allocations: 51.39 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/1.281, allocations: 57.62 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.281, allocations: 338.8 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.281, allocations: 83.95 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.281, allocations: 130.3 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/1.282, allocations: 193 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.282, allocations: 4 kB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005558/1.282, allocations: 279.6 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.282, allocations: 4 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.282, allocations: 8 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.282, allocations: 4 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/1.283, allocations: 39.91 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.283, allocations: 8.156 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/1.283, allocations: 23.83 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/1.283, allocations: 12 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001617/1.283, allocations: 153.8 kB / 1.216 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/1.283, allocations: 35.62 kB / 1.216 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/1.283, allocations: 22.19 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.283, allocations: 0 / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.283, allocations: 4 kB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.283, allocations: 7.984 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/1.284, allocations: 0.5489 MB / 1.216 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.284, allocations: 0 / 1.216 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/1.284, allocations: 11.98 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.284, allocations: 0 / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.284, allocations: 8 kB / 1.216 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.284, allocations: 0 / 1.216 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.284, allocations: 4 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/1.285, allocations: 299 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/1.285, allocations: 96.92 kB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/1.285, allocations: 4 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.285, allocations: 15.98 kB / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.285, allocations: 23.91 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/1.285, allocations: 4 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002349/1.285, allocations: 213.9 kB / 1.217 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.285, allocations: 0 / 1.217 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003765/1.286, allocations: 55.84 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00137/1.287, allocations: 422 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005429/1.288, allocations: 183.8 kB / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.288, allocations: 0 / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/1.288, allocations: 79.83 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/1.288, allocations: 49.11 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/1.289, allocations: 396.6 kB / 1.218 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/1.29, allocations: 0.748 MB / 1.219 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001033/1.29, allocations: 33.89 kB / 1.219 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/1.29, allocations: 27.42 kB / 1.219 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.29, allocations: 0 / 1.219 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of Templates: time 0.008594/1.299, allocations: 3.117 MB / 1.222 GB, free: 14.8 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches