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.007368/0.007368, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.00136/0.00136, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3459, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005855/0.3518, allocations: 2.485 MB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.3559, allocations: 1.578 MB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.3563, allocations: 11.94 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.3572, allocations: 326.8 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009148/0.3581, allocations: 338.6 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.3598, allocations: 442 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3609, allocations: 0.7167 MB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.3612, allocations: 45.77 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005802/0.3618, allocations: 350.6 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.3623, allocations: 322.7 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.3623, allocations: 32 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3626, allocations: 91.97 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.3629, allocations: 199.2 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3632, allocations: 266.1 kB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.3644, allocations: 0.7428 MB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3644, allocations: 0 / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3644, allocations: 0 / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3644, allocations: 4 kB / 1.228 GB, free: 5.867 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.002129/0.3665, allocations: 1.026 MB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.3666, allocations: 8.031 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.3668, allocations: 80.42 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.3681, allocations: 0.6335 MB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3681, allocations: 8.375 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.3682, allocations: 15.94 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.3687, allocations: 207.5 kB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3688, allocations: 0 / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.3688, allocations: 11.98 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3688, allocations: 0 / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.3692, allocations: 103.9 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.371, allocations: 1.052 MB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.3718, allocations: 269 kB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3721, allocations: 96.25 kB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.3722, allocations: 7.984 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005624/0.3727, allocations: 225.6 kB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.3727, allocations: 0 / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001397/0.3741, allocations: 436.8 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.3743, allocations: 162.2 kB / 1.233 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.376, allocations: 1.032 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.376, allocations: 33.7 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.3764, allocations: 292.9 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.3765, allocations: 75.53 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.3768, allocations: 138.2 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3769, allocations: 334 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.3775, allocations: 213.2 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.3781, allocations: 303 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.3791, allocations: 423.4 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.3791, allocations: 0 / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00174/0.3808, allocations: 0.6725 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3808, allocations: 4 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3808, allocations: 4 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.3809, allocations: 4 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.3815, allocations: 120 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.3815, allocations: 11.94 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.382, allocations: 47.7 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.3821, allocations: 29.23 kB / 1.236 GB, free: 13.47 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.0005232/0.3826, allocations: 274.2 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3828, allocations: 79.47 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.383, allocations: 69.89 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.383, allocations: 4 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.383, allocations: 11.92 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.383, allocations: 4 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.3837, allocations: 465.2 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3837, allocations: 0 / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.3838, allocations: 23.98 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.3838, allocations: 4 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3838, allocations: 7.938 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3838, allocations: 7.984 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3838, allocations: 7.875 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.3847, allocations: 391.9 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.3849, allocations: 156.6 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.385, allocations: 15.98 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3852, allocations: 15.98 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.3853, allocations: 31.84 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.3854, allocations: 16 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00104/0.3864, allocations: 0.6005 MB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3864, allocations: 0 / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006751/0.3871, allocations: 119.9 kB / 1.238 GB, free: 11.1 MB / 0.9981 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.001709/0.3888, allocations: 494.3 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.3899, allocations: 377.1 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3899, allocations: 12.25 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.3903, allocations: 95.83 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3915, allocations: 222.8 kB / 1.24 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3939, allocations: 1.09 MB / 1.241 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3945, allocations: 0.9285 MB / 1.242 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000285/0.3948, allocations: 112.9 kB / 1.242 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3949, allocations: 55.42 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of SimCode: time 1.492e-06/0.3949, allocations: 0 / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.01517/0.4101, allocations: 7.854 MB / 1.249 GB, free: 96 kB / 0.9981 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=480 -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/jenkins/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