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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001412/0.001419, allocations: 109.4 kB / 16.41 MB, free: 6.465 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.001353/0.001353, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.578/1.578, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004432/1.044, allocations: 1.931 MB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002416/1.047, allocations: 1.115 MB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/1.047, allocations: 11.88 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004927/1.047, allocations: 95.61 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/1.048, allocations: 95.53 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/1.048, allocations: 162.7 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/1.049, allocations: 215.4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/1.049, allocations: 49.64 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/1.049, allocations: 107.5 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/1.049, allocations: 99.72 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/1.049, allocations: 12 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/1.049, allocations: 55.95 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/1.05, allocations: 59.77 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/1.05, allocations: 95.41 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/1.05, allocations: 271.3 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.05, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/1.05, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.05, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 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.001083/1.051, allocations: 0.5528 MB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.051, allocations: 8.922 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/1.051, allocations: 24.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/1.052, allocations: 295.3 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.052, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/1.052, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/1.052, allocations: 129.5 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.052, allocations: 0 / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.052, allocations: 7.938 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.052, allocations: 4 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/1.053, allocations: 79.92 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/1.053, allocations: 460.4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/1.054, allocations: 126.6 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/1.054, allocations: 52.83 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/1.054, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/1.054, allocations: 131.4 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/1.054, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0006796/1.055, allocations: 242.9 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.055, allocations: 59.41 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/1.056, allocations: 330.5 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/1.056, allocations: 33.7 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.056, allocations: 136.5 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/1.056, allocations: 43.67 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/1.056, allocations: 53.7 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.056, allocations: 346.7 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/1.056, allocations: 87.88 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/1.057, allocations: 137.6 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/1.057, allocations: 187.8 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.057, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005906/1.058, allocations: 277.3 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.058, allocations: 4.156 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.058, allocations: 8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.058, allocations: 0 / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/1.058, allocations: 43.91 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.058, allocations: 4 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/1.058, allocations: 23.88 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/1.058, allocations: 12 kB / 1.175 GB, free: 11.36 MB / 0.9044 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.0001844/1.058, allocations: 157.8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/1.058, allocations: 35.8 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/1.058, allocations: 26.17 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.058, allocations: 3.984 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.058, allocations: 0 / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.058, allocations: 0 / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/1.059, allocations: 0.5451 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.059, allocations: 4 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/1.059, allocations: 19.92 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.059, allocations: 0 / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.059, allocations: 11.98 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.059, allocations: 0 / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.059, allocations: 0 / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/1.06, allocations: 297 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/1.06, allocations: 108.9 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/1.06, allocations: 4 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.06, allocations: 15.97 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/1.06, allocations: 15.98 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/1.06, allocations: 4 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002423/1.061, allocations: 221.8 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003244/1.061, allocations: 43.94 kB / 1.177 GB, free: 9.766 MB / 0.9044 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.00164/1.063, allocations: 428.2 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005157/1.063, allocations: 183 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.063, allocations: 0 / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/1.063, allocations: 72.2 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/1.064, allocations: 58.38 kB / 1.178 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/1.065, allocations: 399.8 kB / 1.178 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/1.065, allocations: 0.7557 MB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001018/1.065, allocations: 29.94 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/1.065, allocations: 27.38 kB / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.065, allocations: 0 / 1.179 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.007554/1.073, allocations: 3.046 MB / 1.182 GB, free: 4.918 MB / 0.9044 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 -s cvode -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