Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001144/0.001144, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009313/0.009313, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.612/1.612, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004373, allocations: 11.62 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4286, allocations: 159.6 MB / 1.059 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003335/0.432, allocations: 2.156 MB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.4351, allocations: 1.54 MB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.4353, allocations: 11.88 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.4361, allocations: 307.1 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.4367, allocations: 306.9 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4378, allocations: 418.2 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.4386, allocations: 0.6582 MB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.4389, allocations: 77.78 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.4393, allocations: 286.6 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.4397, allocations: 310.6 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.4397, allocations: 12 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.44, allocations: 63.97 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.4402, allocations: 183.3 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.4404, allocations: 279.8 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.4412, allocations: 0.7007 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4412, allocations: 0 / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.895e-06/0.4412, allocations: 0 / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4412, allocations: 0 / 1.066 GB, free: 14.11 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001419/0.4427, allocations: 0.8983 MB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4427, allocations: 8.031 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4428, allocations: 75.94 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.4437, allocations: 0.6249 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4437, allocations: 12.36 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.4438, allocations: 15.94 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.4442, allocations: 203.3 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4442, allocations: 0 / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4442, allocations: 8 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4442, allocations: 0 / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.4445, allocations: 99.88 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.4459, allocations: 1.056 MB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.4465, allocations: 281 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.4468, allocations: 100.2 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.4468, allocations: 7.984 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.4473, allocations: 236.4 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.4473, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001064/0.4484, allocations: 421.7 kB / 1.07 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4486, allocations: 166.2 kB / 1.07 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.45, allocations: 1.028 MB / 1.071 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.45, allocations: 37.7 kB / 1.071 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.4503, allocations: 280.9 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.4504, allocations: 79.08 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.4505, allocations: 69.67 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4507, allocations: 337.9 kB / 1.072 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.4511, allocations: 205.2 kB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.4516, allocations: 318.9 kB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.4523, allocations: 408.8 kB / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4523, allocations: 0 / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001174/0.4535, allocations: 0.6672 MB / 1.073 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4535, allocations: 11.98 kB / 1.073 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4535, allocations: 4 kB / 1.073 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4536, allocations: 12.16 kB / 1.073 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.454, allocations: 111.8 kB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.454, allocations: 15.86 kB / 1.073 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.4543, allocations: 43.77 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.4544, allocations: 24 kB / 1.073 GB, free: 5.918 MB / 0.8262 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.00038/0.4548, allocations: 271 kB / 1.074 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4549, allocations: 71.06 kB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.4551, allocations: 81.88 kB / 1.074 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4551, allocations: 4 kB / 1.074 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.4551, allocations: 3.938 kB / 1.074 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4551, allocations: 0 / 1.074 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.4557, allocations: 469.1 kB / 1.074 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4557, allocations: 4 kB / 1.074 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.4558, allocations: 16 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4558, allocations: 0 / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.4558, allocations: 11.98 kB / 1.074 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.4558, allocations: 7.938 kB / 1.074 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4558, allocations: 7.938 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.4565, allocations: 392.3 kB / 1.075 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.4567, allocations: 168.1 kB / 1.075 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.4568, allocations: 12 kB / 1.075 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.457, allocations: 19.98 kB / 1.075 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.4571, allocations: 31.83 kB / 1.075 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.4571, allocations: 15.98 kB / 1.075 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008312/0.458, allocations: 0.6044 MB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.458, allocations: 0 / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004894/0.4585, allocations: 112 kB / 1.076 GB, free: 3.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001553/0.46, allocations: 490.9 kB / 1.076 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008936/0.461, allocations: 411.2 kB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.461, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.4613, allocations: 107.8 kB / 1.077 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4624, allocations: 199.8 kB / 1.077 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4642, allocations: 1.24 MB / 1.078 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.4647, allocations: 0.9249 MB / 1.079 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.465, allocations: 116.9 kB / 1.079 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.4652, allocations: 59.41 kB / 1.079 GB, free: 148 kB / 0.8262 GB Notification: Performance of SimCode: time 1.743e-06/0.4652, allocations: 0 / 1.079 GB, free: 148 kB / 0.8262 GB Notification: Performance of Templates: time 0.01615/0.4813, allocations: 7.302 MB / 1.086 GB, free: 8.918 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches