Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001802/0.001802, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.487/1.487, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.969/2.969, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 77.3 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4229, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004576/0.4274, allocations: 2.476 MB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.4308, allocations: 1.586 MB / 1.266 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.431, allocations: 11.88 kB / 1.266 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.4318, allocations: 326.8 kB / 1.266 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007169/0.4325, allocations: 346.6 kB / 1.267 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4338, allocations: 437.9 kB / 1.267 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.4348, allocations: 0.7168 MB / 1.268 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.4351, allocations: 45.77 kB / 1.268 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.4356, allocations: 358.6 kB / 1.268 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.436, allocations: 342.7 kB / 1.269 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.4361, allocations: 32 kB / 1.269 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.4364, allocations: 95.89 kB / 1.269 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.4366, allocations: 195.3 kB / 1.269 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.4369, allocations: 262.2 kB / 1.269 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009238/0.4378, allocations: 0.7428 MB / 1.27 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4378, allocations: 0 / 1.27 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4379, allocations: 4 kB / 1.27 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.4379, allocations: 4 kB / 1.27 GB, free: 4.934 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002/0.4399, allocations: 1.022 MB / 1.271 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.4399, allocations: 12.02 kB / 1.271 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4401, allocations: 84.42 kB / 1.271 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.4412, allocations: 0.6335 MB / 1.272 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.4412, allocations: 16.38 kB / 1.272 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.4412, allocations: 15.94 kB / 1.272 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.4417, allocations: 201.7 kB / 1.272 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4417, allocations: 0 / 1.272 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.4417, allocations: 8 kB / 1.272 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4417, allocations: 4 kB / 1.272 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.442, allocations: 99.88 kB / 1.272 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.4437, allocations: 1.052 MB / 1.273 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.4443, allocations: 265 kB / 1.273 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.4445, allocations: 100.2 kB / 1.273 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.4446, allocations: 8 kB / 1.273 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.445, allocations: 228.2 kB / 1.273 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.445, allocations: 0 / 1.273 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001054/0.4461, allocations: 426 kB / 1.274 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4462, allocations: 158.2 kB / 1.274 GB, free: 336 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4477, allocations: 1.044 MB / 1.275 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.4477, allocations: 37.7 kB / 1.275 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.448, allocations: 292.9 kB / 1.275 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.4481, allocations: 75.45 kB / 1.275 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.4483, allocations: 142.2 kB / 1.276 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4485, allocations: 330 kB / 1.276 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4489, allocations: 213.2 kB / 1.276 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.4494, allocations: 315 kB / 1.276 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.4501, allocations: 403.1 kB / 1.277 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4501, allocations: 4.188 kB / 1.277 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001226/0.4513, allocations: 0.6761 MB / 1.277 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4513, allocations: 9.562 kB / 1.277 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4513, allocations: 8 kB / 1.277 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4514, allocations: 4 kB / 1.277 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.4518, allocations: 111.8 kB / 1.278 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.4518, allocations: 11.92 kB / 1.278 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.4521, allocations: 43.77 kB / 1.278 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.4522, allocations: 23.98 kB / 1.278 GB, free: 12.53 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003849/0.4526, allocations: 278.4 kB / 1.278 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4527, allocations: 83.47 kB / 1.278 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.4528, allocations: 69.88 kB / 1.278 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4528, allocations: 4 kB / 1.278 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4528, allocations: 0 / 1.278 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.4531, allocations: 168.5 kB / 1.278 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.4531, allocations: 8 kB / 1.278 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.4533, allocations: 15.98 kB / 1.278 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.4534, allocations: 23.97 kB / 1.278 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009114/0.4543, allocations: 0.6737 MB / 1.279 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009973/0.4553, allocations: 0.8089 MB / 1.28 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000252/0.4556, allocations: 91.94 kB / 1.28 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008646/0.4564, allocations: 0.5966 MB / 1.28 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of Backend: time 5.31e-07/0.4564, allocations: 0 / 1.28 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.46, allocations: 0.8591 MB / 1.281 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002633/0.4627, allocations: 1.646 MB / 1.283 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.01776/0.4804, allocations: 8.108 MB / 1.291 GB, free: 15.32 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches