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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001153/0.001153, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00148/0.00148, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.003/3.003, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004003, allocations: 11.5 kB / 0.9022 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002993/0.3603, allocations: 2.08 MB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3629, allocations: 1.494 MB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.3632, allocations: 11.88 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3638, allocations: 299.2 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3644, allocations: 275 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.3654, allocations: 362.6 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.366, allocations: 0.5957 MB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.3662, allocations: 77.7 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.3666, allocations: 266.7 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.3669, allocations: 278.8 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.367, allocations: 12 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3671, allocations: 63.97 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3673, allocations: 171.4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3674, allocations: 125.3 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.3679, allocations: 0.573 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.368, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.368, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.368, allocations: 0 / 1.065 GB, free: 14.64 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.001282/0.3693, allocations: 0.9058 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3693, allocations: 8.031 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3694, allocations: 75.06 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.3703, allocations: 0.5891 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3703, allocations: 11.95 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3703, allocations: 20 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.3707, allocations: 199.3 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3707, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3707, allocations: 11.98 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3708, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.371, allocations: 95.88 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3722, allocations: 1.056 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.3728, allocations: 285 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.373, allocations: 100.2 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.373, allocations: 11.98 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.3734, allocations: 216.8 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3734, allocations: 7.938 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0008827/0.3743, allocations: 413.6 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3744, allocations: 166.2 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3756, allocations: 1.036 MB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3756, allocations: 37.7 kB / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.3759, allocations: 292.8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.3759, allocations: 71.09 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.376, allocations: 16 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3761, allocations: 329.9 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.3765, allocations: 209.2 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.3769, allocations: 307 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3773, allocations: 235.7 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3773, allocations: 0 / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001041/0.3783, allocations: 0.6703 MB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3784, allocations: 10.17 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3784, allocations: 4 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3784, allocations: 4 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.3788, allocations: 111.8 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3788, allocations: 11.92 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3791, allocations: 47.83 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.3791, allocations: 28.08 kB / 1.072 GB, free: 6.746 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.3794, allocations: 277.6 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.3795, allocations: 71.06 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3797, allocations: 73.88 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3797, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3797, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3797, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3801, allocations: 473.1 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3801, allocations: 0 / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.3802, allocations: 20 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3802, allocations: 4 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3802, allocations: 7.984 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3803, allocations: 3.938 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3803, allocations: 4 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.3809, allocations: 396.3 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.381, allocations: 160.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.3811, allocations: 12 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3813, allocations: 19.97 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3814, allocations: 23.92 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3814, allocations: 23.98 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006957/0.3821, allocations: 0.5966 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3821, allocations: 3.938 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004154/0.3825, allocations: 127.8 kB / 1.074 GB, free: 4.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.3837, allocations: 478.9 kB / 1.075 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007258/0.3845, allocations: 407 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3845, allocations: 4.312 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.3847, allocations: 103.8 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.3855, allocations: 196.2 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.387, allocations: 1.184 MB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3875, allocations: 0.9211 MB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.3877, allocations: 116.9 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3878, allocations: 55.42 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3879, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.01293/0.4008, allocations: 7.129 MB / 1.084 GB, free: 10.01 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