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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 182 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 0.7949 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 96.86 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 10.47 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.4868, allocations: 153.7 MB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4871, allocations: 79.95 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01942/0.5065, allocations: 7.218 MB / 1.38 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5066, allocations: 0 / 1.38 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.5066, allocations: 4 kB / 1.38 GB, free: 1.047 MB / 0.8698 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.0008791/0.5075, allocations: 0.5339 MB / 1.381 GB, free: 472 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5076, allocations: 11.97 kB / 1.381 GB, free: 460 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.5076, allocations: 23.72 kB / 1.381 GB, free: 436 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.5082, allocations: 310.5 kB / 1.381 GB, free: 84 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5082, allocations: 4.188 kB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5083, allocations: 12 kB / 1.381 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.5086, allocations: 128.2 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5086, allocations: 0 / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.5086, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5087, allocations: 7.984 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.5089, allocations: 92.48 kB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.5098, allocations: 489.4 kB / 1.382 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.5101, allocations: 130.7 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.5101, allocations: 3.953 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.5104, allocations: 142.1 kB / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.5104, allocations: 0 / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006283/0.5111, allocations: 269.2 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5111, allocations: 51.41 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.5115, allocations: 305.6 kB / 1.382 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5115, allocations: 33.7 kB / 1.383 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.5116, allocations: 132.4 kB / 1.383 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.5116, allocations: 39.5 kB / 1.383 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.5117, allocations: 8.219 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5118, allocations: 338.8 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.5121, allocations: 103.9 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5123, allocations: 162.2 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5126, allocations: 109.5 kB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5126, allocations: 0 / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005862/0.5132, allocations: 307 kB / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5132, allocations: 7.953 kB / 1.384 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5132, allocations: 4 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5132, allocations: 160 / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5135, allocations: 55.91 kB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.5135, allocations: 0 / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.5137, allocations: 31.83 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.5137, allocations: 8 kB / 1.384 GB, free: 13.03 MB / 0.8855 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 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.5139, allocations: 161.8 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.5139, allocations: 27.72 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.5145, allocations: 225.2 kB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5145, allocations: 0 / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5145, allocations: 0 / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5145, allocations: 0 / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.5154, allocations: 0.5801 MB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5154, allocations: 0 / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.5155, allocations: 23.98 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5155, allocations: 0 / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5155, allocations: 7.984 kB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5156, allocations: 4 kB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5156, allocations: 0 / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.5161, allocations: 309.8 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5162, allocations: 108.8 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.5163, allocations: 0 / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.5164, allocations: 23.92 kB / 1.385 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.5165, allocations: 23.95 kB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5165, allocations: 8 kB / 1.385 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002129/0.5167, allocations: 217.9 kB / 1.385 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5168, allocations: 3.938 kB / 1.385 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003455/0.5171, allocations: 55.94 kB / 1.385 GB, free: 11.17 MB / 0.8855 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 (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001001/0.5181, allocations: 428.5 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.5186, allocations: 211.6 kB / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5186, allocations: 0 / 1.386 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.5188, allocations: 81.3 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5192, allocations: 46.5 kB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.52, allocations: 448.9 kB / 1.387 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5204, allocations: 0.7599 MB / 1.387 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.5205, allocations: 33.92 kB / 1.387 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.5205, allocations: 19.44 kB / 1.387 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5206, allocations: 0 / 1.387 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of Templates: time 0.006168/0.5267, allocations: 2.855 MB / 1.39 GB, free: 6.43 MB / 0.8855 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches