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.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.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.001034/0.001034, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 183.2 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.344 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.483/2.483, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 8.281 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8534, allocations: 142.4 MB / 0.9557 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003554/0.857, allocations: 1.623 MB / 0.9573 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.8601, allocations: 1.077 MB / 0.9584 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.8603, allocations: 1.281 kB / 0.9584 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.8609, allocations: 95.33 kB / 0.9585 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.8613, allocations: 87.75 kB / 0.9585 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.8619, allocations: 135.3 kB / 0.9587 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.8624, allocations: 196.8 kB / 0.9589 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.8626, allocations: 49.44 kB / 0.9589 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.8629, allocations: 85.56 kB / 0.959 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.8632, allocations: 97.2 kB / 0.9591 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.8632, allocations: 5.5 kB / 0.9591 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.8635, allocations: 46.05 kB / 0.9591 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.8636, allocations: 47.08 kB / 0.9592 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.8638, allocations: 108.4 kB / 0.9593 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.8642, allocations: 207.2 kB / 0.9595 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8642, allocations: 0 / 0.9595 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8642, allocations: 1.375 kB / 0.9595 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.8642, allocations: 0 / 0.9595 GB, free: 5.043 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001315/0.8656, allocations: 0.5071 MB / 0.96 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8656, allocations: 9.625 kB / 0.96 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.8658, allocations: 23.66 kB / 0.96 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.8664, allocations: 295.2 kB / 0.9603 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.8664, allocations: 8.781 kB / 0.9603 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.8665, allocations: 11.03 kB / 0.9603 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.867, allocations: 122.1 kB / 0.9604 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8671, allocations: 0 / 0.9604 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.8671, allocations: 13.52 kB / 0.9604 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.8671, allocations: 2.875 kB / 0.9604 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.8677, allocations: 98.86 kB / 0.9605 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.8688, allocations: 457.5 kB / 0.961 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.8695, allocations: 131.9 kB / 0.9611 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.8698, allocations: 65.94 kB / 0.9612 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.8699, allocations: 1 kB / 0.9612 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.8703, allocations: 130 kB / 0.9613 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.8704, allocations: 3.938 kB / 0.9613 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001165/0.8715, allocations: 262 kB / 0.9615 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.8716, allocations: 54.56 kB / 0.9616 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.8722, allocations: 339.5 kB / 0.9619 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.8723, allocations: 28.77 kB / 0.9619 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.8725, allocations: 135.5 kB / 0.9621 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.8726, allocations: 45.53 kB / 0.9621 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.8727, allocations: 31.92 kB / 0.9621 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8728, allocations: 337.8 kB / 0.9625 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.8732, allocations: 84.08 kB / 0.9625 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.8737, allocations: 147.2 kB / 0.9627 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.8745, allocations: 199.1 kB / 0.9629 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.8745, allocations: 3.938 kB / 0.9629 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0011/0.8756, allocations: 289.7 kB / 0.9631 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.8756, allocations: 6.594 kB / 0.9632 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8757, allocations: 2.438 kB / 0.9632 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.8757, allocations: 6.812 kB / 0.9632 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.8761, allocations: 48.06 kB / 0.9632 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.8761, allocations: 3.844 kB / 0.9632 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.8765, allocations: 29.27 kB / 0.9632 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.8765, allocations: 7.812 kB / 0.9632 GB, free: 2.098 MB / 0.7169 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.0002427/0.8768, allocations: 165.1 kB / 0.9634 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.8769, allocations: 26.41 kB / 0.9634 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.877, allocations: 25.67 kB / 0.9635 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.877, allocations: 2.062 kB / 0.9635 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.877, allocations: 3.984 kB / 0.9635 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8771, allocations: 1.156 kB / 0.9635 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.8785, allocations: 0.5622 MB / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8785, allocations: 0 / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8787, allocations: 20.36 kB / 0.964 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.8787, allocations: 0 / 0.964 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8787, allocations: 5.5 kB / 0.964 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8787, allocations: 1.5 kB / 0.964 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8787, allocations: 4 kB / 0.964 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/0.8796, allocations: 308.3 kB / 0.9643 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.8797, allocations: 101.3 kB / 0.9644 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.8797, allocations: 6.656 kB / 0.9644 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.88, allocations: 22.88 kB / 0.9645 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8802, allocations: 14.61 kB / 0.9645 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.8802, allocations: 9.078 kB / 0.9645 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003563/0.8806, allocations: 203.4 kB / 0.9647 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.8e-07/0.8806, allocations: 0 / 0.9647 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005911/0.8812, allocations: 56.44 kB / 0.9647 GB, free: 0.9414 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: 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.00182/0.883, allocations: 438.5 kB / 0.9651 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009207/0.884, allocations: 191.6 kB / 0.9653 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.884, allocations: 4.062 kB / 0.9653 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.8843, allocations: 77.45 kB / 0.9654 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.8851, allocations: 47.83 kB / 0.9655 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.8862, allocations: 486.6 kB / 0.9659 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.8867, allocations: 0.7472 MB / 0.9666 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.8868, allocations: 28.47 kB / 0.9667 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8868, allocations: 1.438 kB / 0.9667 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of Templates: time 0.01264/0.8995, allocations: 3.213 MB / 0.9698 GB, free: 13.84 MB / 0.7325 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