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.001445/0.001445, allocations: 104.5 kB / 16.41 MB, free: 6.457 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.001538/0.001538, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9483, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005121/0.9535, allocations: 2.481 MB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.9565, allocations: 1.575 MB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.957, allocations: 11.88 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008175/0.9579, allocations: 330.8 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009383/0.9589, allocations: 334.6 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.9601, allocations: 447.3 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.961, allocations: 0.7168 MB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.9612, allocations: 81.72 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.9616, allocations: 338.7 kB / 1.215 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.962, allocations: 322.7 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.962, allocations: 32 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.9622, allocations: 91.95 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.9625, allocations: 191.3 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.9627, allocations: 270.1 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.9634, allocations: 0.7334 MB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9634, allocations: 7.875 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9635, allocations: 4 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.9635, allocations: 0 / 1.216 GB, free: 5.699 MB / 0.9356 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.001531/0.965, allocations: 0.9989 MB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9651, allocations: 12.03 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.9652, allocations: 75.98 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.9661, allocations: 0.6172 MB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.9661, allocations: 12.36 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.9662, allocations: 15.94 kB / 1.218 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.9666, allocations: 201.8 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9666, allocations: 0 / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.9666, allocations: 8 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9666, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.9669, allocations: 99.88 kB / 1.218 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.9683, allocations: 1.056 MB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.9689, allocations: 284.9 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.9691, allocations: 104.2 kB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.9691, allocations: 7.938 kB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.9696, allocations: 236.1 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.9696, allocations: 3.938 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.0009442/0.9705, allocations: 416.5 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.9707, allocations: 166.2 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.9718, allocations: 1.032 MB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.9719, allocations: 37.7 kB / 1.221 GB, free: 24 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.9722, allocations: 288.8 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.9722, allocations: 83.08 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.9724, allocations: 134.1 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9726, allocations: 338 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.973, allocations: 213.2 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.9734, allocations: 303 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.974, allocations: 414.4 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.974, allocations: 4 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001047/0.9751, allocations: 0.6641 MB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9751, allocations: 9.547 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9751, allocations: 7.938 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9752, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.9756, allocations: 112 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.9756, allocations: 15.86 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.9758, allocations: 43.73 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.9759, allocations: 24 kB / 1.224 GB, free: 13.33 MB / 0.9512 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.0003192/0.9762, allocations: 280.9 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.9763, allocations: 71.06 kB / 1.224 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.9765, allocations: 73.88 kB / 1.224 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.9765, allocations: 8 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.9765, allocations: 7.938 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.9765, allocations: 0 / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.977, allocations: 465.2 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.977, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.9771, allocations: 16 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9771, allocations: 7.938 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.9771, allocations: 11.98 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9771, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9771, allocations: 3.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.9778, allocations: 387.5 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.9779, allocations: 160.1 kB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.978, allocations: 15.88 kB / 1.225 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.9782, allocations: 27.97 kB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.9783, allocations: 19.92 kB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.9783, allocations: 15.98 kB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000692/0.979, allocations: 0.6083 MB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.979, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004059/0.9794, allocations: 116 kB / 1.226 GB, free: 10.96 MB / 0.9512 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.001238/0.9806, allocations: 482.6 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000737/0.9814, allocations: 407.4 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9814, allocations: 0 / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.9816, allocations: 107.8 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.9826, allocations: 209.4 kB / 1.227 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.9842, allocations: 1.141 MB / 1.228 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.9847, allocations: 0.9323 MB / 1.229 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.9848, allocations: 67.3 kB / 1.229 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9849, allocations: 0 / 1.229 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of Templates: time 0.01343/0.9983, allocations: 8.872 MB / 1.238 GB, free: 14.93 MB / 0.9669 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/jenkins1/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