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.008652/0.008652, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001675/0.001675, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.622/1.622, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.961/2.961, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4199, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004589/0.4245, allocations: 2.473 MB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.4277, allocations: 1.578 MB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.4282, allocations: 15.88 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.429, allocations: 318.9 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.4299, allocations: 334.6 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4312, allocations: 436.4 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.4323, allocations: 0.709 MB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.4326, allocations: 81.72 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007124/0.4333, allocations: 350.6 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.4339, allocations: 326.7 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.137e-05/0.434, allocations: 32 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.4343, allocations: 87.95 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.4345, allocations: 187.3 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.4348, allocations: 274.1 kB / 1.215 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000961/0.4358, allocations: 0.7395 MB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4358, allocations: 0 / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4358, allocations: 3.938 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.4358, allocations: 0 / 1.215 GB, free: 1.73 MB / 0.9669 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.00165/0.4375, allocations: 0.9997 MB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001135/0.4376, allocations: 16.56 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4377, allocations: 75.98 kB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4388, allocations: 0.6211 MB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4388, allocations: 16.36 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.4389, allocations: 15.94 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.4393, allocations: 202.7 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4393, allocations: 0 / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4393, allocations: 4 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4393, allocations: 4 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.4396, allocations: 99.88 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.4411, allocations: 1.052 MB / 1.219 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.4417, allocations: 277 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.442, allocations: 100.3 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.442, allocations: 15.92 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.4425, allocations: 232.5 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 4.879e-06/0.4425, allocations: 0 / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001028/0.4435, allocations: 425.6 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.4436, allocations: 162.2 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.445, allocations: 1.032 MB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.445, allocations: 33.7 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.4453, allocations: 288.9 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.4454, allocations: 83.08 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.4457, allocations: 146.1 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4458, allocations: 326 kB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.4463, allocations: 213.2 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.4468, allocations: 307 kB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.4475, allocations: 413.4 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4475, allocations: 0 / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001189/0.4487, allocations: 0.6716 MB / 1.223 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4487, allocations: 8.156 kB / 1.223 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4487, allocations: 7.938 kB / 1.223 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.4488, allocations: 7.984 kB / 1.223 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4492, allocations: 111.9 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.4492, allocations: 19.92 kB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4495, allocations: 39.67 kB / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.4496, allocations: 24 kB / 1.223 GB, free: 9.355 MB / 0.9825 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.0003527/0.4499, allocations: 277.6 kB / 1.224 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/0.4501, allocations: 71.06 kB / 1.224 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4502, allocations: 77.88 kB / 1.224 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.4502, allocations: 4 kB / 1.224 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4502, allocations: 3.938 kB / 1.224 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4502, allocations: 0 / 1.224 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.4507, allocations: 469.1 kB / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4508, allocations: 3.984 kB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.4508, allocations: 19.94 kB / 1.224 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4508, allocations: 4 kB / 1.224 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4509, allocations: 11.98 kB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4509, allocations: 8 kB / 1.224 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4509, allocations: 3.938 kB / 1.224 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.4516, allocations: 392.7 kB / 1.225 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.4518, allocations: 152.2 kB / 1.225 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.4519, allocations: 20 kB / 1.225 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.452, allocations: 19.91 kB / 1.225 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.4521, allocations: 19.92 kB / 1.225 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4521, allocations: 19.98 kB / 1.225 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007843/0.4529, allocations: 0.6044 MB / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4529, allocations: 0 / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004696/0.4534, allocations: 116 kB / 1.225 GB, free: 6.98 MB / 0.9825 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.001287/0.4547, allocations: 475.4 kB / 1.226 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.4556, allocations: 403.7 kB / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4556, allocations: 0 / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.4559, allocations: 111.8 kB / 1.226 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.4569, allocations: 221.4 kB / 1.227 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.4586, allocations: 1.088 MB / 1.228 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.4592, allocations: 0.9246 MB / 1.229 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.4595, allocations: 112.9 kB / 1.229 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4596, allocations: 59.36 kB / 1.229 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4596, allocations: 4 kB / 1.229 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of Templates: time 0.01512/0.4748, allocations: 8.006 MB / 1.237 GB, free: 11.8 MB / 0.9981 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