Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009645/0.0009645, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.0009914/0.0009914, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 8 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.865/0.8654, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00257/0.868, allocations: 1.591 MB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.87, allocations: 1.034 MB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.8701, allocations: 4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.8706, allocations: 83.69 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.8709, allocations: 83.75 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.8713, allocations: 122.2 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.8715, allocations: 127.8 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.8717, allocations: 37.83 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.8718, allocations: 87.62 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.872, allocations: 75.67 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.872, allocations: 4 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.8721, allocations: 39.97 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.8722, allocations: 51.81 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.8723, allocations: 53.58 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.8725, allocations: 205.4 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8726, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8726, allocations: 4 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8726, allocations: 0 / 1.024 GB, free: 13.52 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.0009114/0.8735, allocations: 0.5024 MB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8736, allocations: 15.92 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.8736, allocations: 23.72 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.874, allocations: 282.7 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.8741, allocations: 12.12 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.8741, allocations: 19.94 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.8744, allocations: 120.2 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8744, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8745, allocations: 4 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.8745, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.8748, allocations: 108 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.8755, allocations: 452.4 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.8758, allocations: 138.5 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.8759, allocations: 4.031 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.8762, allocations: 135.3 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.8762, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006772/0.8769, allocations: 257.2 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.8769, allocations: 55.41 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.8773, allocations: 334.4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.8774, allocations: 33.7 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.8775, allocations: 136.5 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.8775, allocations: 43.44 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.8775, allocations: 8 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8777, allocations: 330.8 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.8779, allocations: 87.95 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.8781, allocations: 133.1 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.8784, allocations: 102.7 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8784, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005555/0.8789, allocations: 281.5 kB / 1.028 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.879, allocations: 8 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.879, allocations: 3.984 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.879, allocations: 4.219 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.8792, allocations: 43.92 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8792, allocations: 11.92 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.8794, allocations: 31.78 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.8794, allocations: 8 kB / 1.028 GB, free: 9.625 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 ($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.0001648/0.8796, allocations: 161.8 kB / 1.028 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.8796, allocations: 23.72 kB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.8797, allocations: 26.17 kB / 1.028 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8797, allocations: 0 / 1.028 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8797, allocations: 4 kB / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.8797, allocations: 0 / 1.028 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/0.8806, allocations: 0.5668 MB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8806, allocations: 3.984 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.8807, allocations: 15.98 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.8807, allocations: 4 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.8807, allocations: 8 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8807, allocations: 3.953 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8807, allocations: 0 / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.8812, allocations: 299.2 kB / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.8813, allocations: 104.8 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.8813, allocations: 4 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.8815, allocations: 19.98 kB / 1.029 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.8816, allocations: 19.92 kB / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.8816, allocations: 8 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002115/0.8818, allocations: 205.9 kB / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8818, allocations: 0 / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003228/0.8821, allocations: 59.84 kB / 1.029 GB, free: 8.008 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 (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.001057/0.8832, allocations: 424.7 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.8837, allocations: 199.7 kB / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8837, allocations: 0 / 1.03 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.8839, allocations: 75.89 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.8842, allocations: 40.86 kB / 1.03 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.885, allocations: 441.4 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.8853, allocations: 0.756 MB / 1.031 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.099e-05/0.8854, allocations: 29.95 kB / 1.031 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.8855, allocations: 27.42 kB / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8855, allocations: 0 / 1.031 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.006244/0.8917, allocations: 2.738 MB / 1.034 GB, free: 3.438 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches