Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009246/0.0009297, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007438/0.007439, allocations: 170 kB / 16.26 MB, free: 6.613 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.662/1.662, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.186/3.186, allocations: 470.6 MB / 0.7442 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 8.562 kB / 0.9123 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4561, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002995/0.4591, allocations: 1.63 MB / 1.071 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.4616, allocations: 1.08 MB / 1.073 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.4618, allocations: 11.88 kB / 1.073 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.4623, allocations: 91.73 kB / 1.073 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.4627, allocations: 79.67 kB / 1.073 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.4633, allocations: 137 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.4637, allocations: 195.5 kB / 1.073 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.4639, allocations: 45.66 kB / 1.073 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.4642, allocations: 91.48 kB / 1.073 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.4644, allocations: 91.55 kB / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.4644, allocations: 4 kB / 1.073 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.4646, allocations: 51.95 kB / 1.073 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4647, allocations: 51.83 kB / 1.073 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.4649, allocations: 109.1 kB / 1.073 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.4654, allocations: 255.3 kB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4654, allocations: 0 / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4654, allocations: 0 / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4654, allocations: 0 / 1.074 GB, free: 7.484 MB / 0.8262 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.001194/0.4666, allocations: 0.5065 MB / 1.074 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4667, allocations: 8.031 kB / 1.074 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.4668, allocations: 28.64 kB / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.4674, allocations: 291.3 kB / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.4674, allocations: 8 kB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.4675, allocations: 15.98 kB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.4679, allocations: 121.5 kB / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4679, allocations: 4 kB / 1.075 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.468, allocations: 7.938 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.468, allocations: 0 / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.4684, allocations: 95.92 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4695, allocations: 452.4 kB / 1.075 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.47, allocations: 142.6 kB / 1.075 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.4702, allocations: 60.83 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.4703, allocations: 0 / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.4707, allocations: 132.8 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.395e-06/0.4707, allocations: 4 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0009657/0.4717, allocations: 266.8 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4718, allocations: 59.33 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.4723, allocations: 322.6 kB / 1.076 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.4724, allocations: 33.69 kB / 1.076 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4726, allocations: 136.3 kB / 1.076 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.4726, allocations: 43.53 kB / 1.076 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.4727, allocations: 37.7 kB / 1.076 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4729, allocations: 334.8 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.4732, allocations: 91.94 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4736, allocations: 137.1 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.4742, allocations: 198.5 kB / 1.077 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4743, allocations: 3.938 kB / 1.077 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008693/0.4751, allocations: 286.3 kB / 1.077 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4752, allocations: 8 kB / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4752, allocations: 3.938 kB / 1.077 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4752, allocations: 4 kB / 1.077 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4755, allocations: 47.91 kB / 1.077 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4755, allocations: 4 kB / 1.077 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4758, allocations: 24.02 kB / 1.077 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.4758, allocations: 19.92 kB / 1.077 GB, free: 3.363 MB / 0.8262 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.0002361/0.4761, allocations: 149.8 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.4761, allocations: 27.66 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/0.4762, allocations: 30.16 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4762, allocations: 0 / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4763, allocations: 0 / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4763, allocations: 7.938 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4775, allocations: 0.5567 MB / 1.078 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4775, allocations: 0 / 1.078 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.4777, allocations: 27.92 kB / 1.078 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.4777, allocations: 4 kB / 1.078 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4777, allocations: 3.984 kB / 1.078 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4777, allocations: 0 / 1.078 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4777, allocations: 0 / 1.078 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.4785, allocations: 308.9 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4786, allocations: 104.8 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.4787, allocations: 7.984 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4789, allocations: 15.98 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.479, allocations: 15.98 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.479, allocations: 15.98 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000337/0.4794, allocations: 205.9 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4794, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005215/0.4799, allocations: 59.92 kB / 1.079 GB, free: 1.742 MB / 0.8262 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.002121/0.4821, allocations: 416.8 kB / 1.079 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007558/0.4828, allocations: 196.5 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4829, allocations: 0 / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.4832, allocations: 70.94 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.4838, allocations: 56.12 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4849, allocations: 460.7 kB / 1.08 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.4855, allocations: 0.7522 MB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.4856, allocations: 33.94 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.4858, allocations: 27.42 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of SimCode: time 8.71e-07/0.4858, allocations: 0 / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Templates: time 0.01028/0.496, allocations: 2.813 MB / 1.084 GB, free: 13.06 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches