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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001139/0.001139, allocations: 100.1 kB / 15.88 MB, free: 12 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.00122/0.00122, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6631, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00469/0.6679, allocations: 1.99 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.6704, allocations: 1.108 MB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.6707, allocations: 7.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.6712, allocations: 87.75 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.6717, allocations: 95.59 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.6723, allocations: 139.5 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.6727, allocations: 199.5 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.6729, allocations: 49.64 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.6731, allocations: 87.56 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.6733, allocations: 103.5 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.6734, allocations: 8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.6736, allocations: 43.97 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6737, allocations: 51.83 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.6739, allocations: 87.39 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.6742, allocations: 213.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6742, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6742, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.6743, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 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.001147/0.6754, allocations: 0.5336 MB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6755, allocations: 12.03 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.6756, allocations: 20.66 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.6761, allocations: 295.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.6761, allocations: 8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.6762, allocations: 12 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.6765, allocations: 117.6 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6765, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6766, allocations: 11.92 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6766, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.6769, allocations: 83.11 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.6778, allocations: 452.5 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.6782, allocations: 126.6 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.6783, allocations: 64.81 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.6784, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.6787, allocations: 127.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 5.02e-06/0.6787, allocations: 7.922 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007021/0.6794, allocations: 247.2 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.6795, allocations: 59.34 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.6799, allocations: 330.5 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.6799, allocations: 29.7 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.68, allocations: 136.4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.6801, allocations: 43.53 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.6802, allocations: 61.69 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6804, allocations: 334.8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.6806, allocations: 83.95 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.6808, allocations: 133 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.6812, allocations: 181 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6813, allocations: 3.938 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006088/0.6819, allocations: 285 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6819, allocations: 8 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6819, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.6819, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6822, allocations: 39.91 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6822, allocations: 4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6824, allocations: 36 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.6824, allocations: 8 kB / 1.025 GB, free: 10.45 MB / 0.7794 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.0001731/0.6826, allocations: 154.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.6826, allocations: 27.66 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.6827, allocations: 26.17 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.6827, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6827, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6827, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.6836, allocations: 0.549 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6836, allocations: 0 / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.6837, allocations: 15.92 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.6837, allocations: 7.938 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.6838, allocations: 4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6838, allocations: 0 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6838, allocations: 4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.6843, allocations: 293 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.6844, allocations: 108.8 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.6844, allocations: 4 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6846, allocations: 15.98 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.6847, allocations: 23.97 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.6847, allocations: 4 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002223/0.6849, allocations: 205.9 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6849, allocations: 0 / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003416/0.6853, allocations: 51.92 kB / 1.027 GB, free: 8.867 MB / 0.7794 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.00115/0.6864, allocations: 411.9 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.687, allocations: 194 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.687, allocations: 0 / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.6872, allocations: 67.97 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6877, allocations: 53.97 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.6886, allocations: 490.8 kB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.689, allocations: 0.756 MB / 1.029 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.6891, allocations: 23.44 kB / 1.029 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6891, allocations: 0 / 1.029 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.007346/0.6965, allocations: 3.251 MB / 1.032 GB, free: 3.75 MB / 0.7794 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