Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001435/0.001435, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001397/0.001397, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9581, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003821/0.962, allocations: 1.92 MB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.9641, allocations: 1.117 MB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.9643, allocations: 2.156 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.9647, allocations: 98.23 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.9651, allocations: 98.39 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.9655, allocations: 165 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.9658, allocations: 218.4 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.966, allocations: 52.8 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.9662, allocations: 99.28 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.9664, allocations: 102.7 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.9665, allocations: 13.59 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.9667, allocations: 61.5 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.9668, allocations: 59.11 kB / 1.093 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.9669, allocations: 88.58 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.9674, allocations: 269 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9674, allocations: 1.312 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9674, allocations: 0 / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.9674, allocations: 3.938 kB / 1.093 GB, free: 2.797 MB / 0.8575 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.0009815/0.9684, allocations: 0.537 MB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.9685, allocations: 9.344 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.9685, allocations: 24.45 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.9689, allocations: 290.7 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.969, allocations: 12.8 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.969, allocations: 12.8 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.9694, allocations: 121.7 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9694, allocations: 0 / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.9694, allocations: 9.375 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.9694, allocations: 2.875 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.9697, allocations: 92.88 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.9705, allocations: 451.3 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.9709, allocations: 129.5 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.9711, allocations: 58.89 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.9712, allocations: 1.734 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.9715, allocations: 127.2 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.9715, allocations: 1 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007442/0.9722, allocations: 249.8 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.9723, allocations: 54.62 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.9727, allocations: 335.8 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.9727, allocations: 31.98 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.9728, allocations: 130.4 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.9729, allocations: 42.42 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.973, allocations: 66.28 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.9731, allocations: 333.8 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.9733, allocations: 83.02 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.9736, allocations: 134.5 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.9741, allocations: 191 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9741, allocations: 4.734 kB / 1.096 GB, free: 364 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006292/0.9748, allocations: 272.8 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9748, allocations: 9.969 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9748, allocations: 1.156 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.9748, allocations: 3.141 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.9751, allocations: 49.66 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.9751, allocations: 3.578 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.9752, allocations: 26.98 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.9753, allocations: 8.688 kB / 1.097 GB, free: 224 kB / 0.8575 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.000149/0.9754, allocations: 158.6 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.9755, allocations: 22.61 kB / 1.097 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.9755, allocations: 28.62 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9756, allocations: 2.5 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9756, allocations: 0 / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.9757, allocations: 98.45 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.9757, allocations: 11.05 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.9758, allocations: 13.19 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.9759, allocations: 23.8 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006066/0.9766, allocations: 267.3 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005898/0.9772, allocations: 366.8 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002103/0.9774, allocations: 70.38 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002679/0.9777, allocations: 210.3 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of Backend: time 4.2e-07/0.9777, allocations: 0 / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.9794, allocations: 0.5173 MB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00109/0.9805, allocations: 0.8562 MB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.008693/0.9892, allocations: 3.14 MB / 1.102 GB, free: 14.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches