Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00196/0.001961, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.002368/0.002368, allocations: 185.5 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003976/1.091, allocations: 1.928 MB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002284/1.094, allocations: 1.119 MB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/1.094, allocations: 3.938 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/1.094, allocations: 91.62 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004338/1.095, allocations: 111.5 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/1.095, allocations: 157.3 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/1.096, allocations: 215.4 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/1.096, allocations: 49.64 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/1.096, allocations: 111.5 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/1.097, allocations: 99.59 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/1.097, allocations: 12 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/1.097, allocations: 51.97 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.097, allocations: 67.75 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/1.097, allocations: 83.42 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/1.098, allocations: 271 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.098, allocations: 3.938 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.794e-06/1.098, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.375e-05/1.098, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 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.001118/1.099, allocations: 0.5415 MB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.099, allocations: 12.91 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/1.099, allocations: 24.66 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/1.099, allocations: 291.2 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/1.099, allocations: 11.94 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/1.099, allocations: 12 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/1.1, allocations: 119.3 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.1, allocations: 0 / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/1.1, allocations: 7.938 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.1, allocations: 4 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/1.1, allocations: 83.92 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/1.101, allocations: 448.4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/1.101, allocations: 130.6 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/1.101, allocations: 60.77 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.101, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/1.102, allocations: 123.5 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/1.102, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0007045/1.103, allocations: 251.5 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/1.103, allocations: 55.41 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/1.103, allocations: 334.4 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.103, allocations: 37.7 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.103, allocations: 128.5 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/1.103, allocations: 43.45 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.103, allocations: 61.69 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.103, allocations: 330.8 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.104, allocations: 87.89 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.104, allocations: 137 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/1.104, allocations: 190.9 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.104, allocations: 3.938 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006323/1.105, allocations: 278.6 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.105, allocations: 8 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.105, allocations: 8.156 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.105, allocations: 4 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.105, allocations: 43.91 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.105, allocations: 4 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.105, allocations: 27.83 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/1.106, allocations: 8 kB / 1.175 GB, free: 11.34 MB / 0.9044 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.0001561/1.106, allocations: 157.5 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/1.106, allocations: 31.64 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/1.106, allocations: 26.19 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.106, allocations: 3.984 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.106, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/1.106, allocations: 96.92 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/1.106, allocations: 4 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.106, allocations: 15.97 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/1.106, allocations: 23.86 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005214/1.107, allocations: 272.8 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005231/1.107, allocations: 360.5 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001745/1.107, allocations: 75.88 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000205/1.108, allocations: 206 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Backend: time 7.21e-07/1.108, allocations: 0 / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001671/1.109, allocations: 0.5318 MB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001096/1.11, allocations: 0.8438 MB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of Templates: time 0.007551/1.118, allocations: 3.138 MB / 1.181 GB, free: 5.664 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches