Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009257/0.009257, allocations: 96.7 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.001839/0.001839, allocations: 194.3 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.69 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004123/0.3524, allocations: 2.472 MB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.3556, allocations: 1.579 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.3558, allocations: 11.88 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.3566, allocations: 326.8 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.3573, allocations: 338.7 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3584, allocations: 448.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007666/0.3592, allocations: 0.709 MB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.3594, allocations: 89.64 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.3599, allocations: 338.7 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.3602, allocations: 322.7 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.3603, allocations: 28 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3605, allocations: 91.91 kB / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3607, allocations: 191.3 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.361, allocations: 270.1 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.3619, allocations: 0.7505 MB / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3619, allocations: 0 / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/0.362, allocations: 4 kB / 1.096 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.362, allocations: 0 / 1.096 GB, free: 9.531 MB / 0.8575 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.001847/0.3638, allocations: 1.026 MB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3639, allocations: 12.03 kB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.364, allocations: 80.41 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/0.365, allocations: 0.6297 MB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.365, allocations: 12.36 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.365, allocations: 15.94 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.3655, allocations: 205.7 kB / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3655, allocations: 0 / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.3655, allocations: 8 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3655, allocations: 0 / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.3658, allocations: 99.88 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3675, allocations: 1.056 MB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.3681, allocations: 277 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.3684, allocations: 108.2 kB / 1.099 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.3684, allocations: 7.938 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.3688, allocations: 221.2 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 4.248e-06/0.3689, allocations: 0 / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001023/0.3699, allocations: 432.8 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.37, allocations: 166.2 kB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3714, allocations: 1.036 MB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.3714, allocations: 37.7 kB / 1.101 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.3717, allocations: 281 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.3718, allocations: 87.41 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.372, allocations: 134.2 kB / 1.101 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3722, allocations: 334 kB / 1.102 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.3726, allocations: 213.2 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.373, allocations: 307 kB / 1.102 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.3737, allocations: 407.8 kB / 1.103 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3737, allocations: 4 kB / 1.103 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001274/0.375, allocations: 0.6755 MB / 1.103 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.375, allocations: 4 kB / 1.103 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3751, allocations: 11.97 kB / 1.103 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.3751, allocations: 4 kB / 1.103 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.3755, allocations: 111.8 kB / 1.103 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.3756, allocations: 11.92 kB / 1.103 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.3759, allocations: 53.17 kB / 1.104 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.376, allocations: 27.94 kB / 1.104 GB, free: 1.113 MB / 0.8575 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.000402/0.3764, allocations: 277.6 kB / 1.104 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3765, allocations: 71.53 kB / 1.104 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.3767, allocations: 73.88 kB / 1.104 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3767, allocations: 4 kB / 1.104 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3767, allocations: 7.938 kB / 1.104 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3767, allocations: 0 / 1.104 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.3772, allocations: 465.2 kB / 1.104 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3772, allocations: 4 kB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.3773, allocations: 20 kB / 1.104 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3773, allocations: 4 kB / 1.104 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3773, allocations: 7.984 kB / 1.104 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3773, allocations: 4 kB / 1.104 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.3773, allocations: 7.875 kB / 1.104 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.378, allocations: 403.1 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.3783, allocations: 156.6 kB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.3784, allocations: 8 kB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3786, allocations: 23.97 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.3786, allocations: 23.86 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.3787, allocations: 23.98 kB / 1.105 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007183/0.3794, allocations: 0.6005 MB / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 0 / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004567/0.3799, allocations: 119.9 kB / 1.106 GB, free: 14.74 MB / 0.8731 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.001262/0.3811, allocations: 485.5 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009353/0.3821, allocations: 404.3 kB / 1.107 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3821, allocations: 0 / 1.107 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.3824, allocations: 112.1 kB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3835, allocations: 216.1 kB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3853, allocations: 1.095 MB / 1.108 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.386, allocations: 0.9285 MB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003612/0.3864, allocations: 116.9 kB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3865, allocations: 55.42 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.3865, allocations: 0 / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.01496/0.4015, allocations: 7.815 MB / 1.117 GB, free: 3.719 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches