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.007741/0.007741, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001416/0.001416, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.574/2.574, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.78 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3547, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.005214/0.36, allocations: 2.475 MB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003852/0.3639, allocations: 1.571 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3643, allocations: 11.88 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.3653, allocations: 330.9 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009762/0.3663, allocations: 330.6 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.368, allocations: 433.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3693, allocations: 0.7128 MB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.3696, allocations: 85.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.3704, allocations: 342.7 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.3709, allocations: 322.7 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.371, allocations: 36 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.3714, allocations: 91.95 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.3717, allocations: 187.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.3721, allocations: 278.1 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3732, allocations: 0.7472 MB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3733, allocations: 0 / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3733, allocations: 0 / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3733, allocations: 0 / 1.096 GB, free: 9.492 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.002231/0.3755, allocations: 0.9988 MB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.3756, allocations: 12.03 kB / 1.097 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3758, allocations: 75.98 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.3772, allocations: 0.6212 MB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3772, allocations: 12.36 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.3773, allocations: 19.88 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.3779, allocations: 201.8 kB / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3779, allocations: 0 / 1.098 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.378, allocations: 4 kB / 1.098 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.378, allocations: 4 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.3784, allocations: 95.88 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3804, allocations: 1.056 MB / 1.099 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/0.3813, allocations: 281 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.3816, allocations: 104.2 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.3817, allocations: 11.92 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/0.3822, allocations: 221.2 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.3823, allocations: 0 / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001406/0.3837, allocations: 425.7 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.3838, allocations: 162.2 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.3855, allocations: 1.036 MB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.3856, allocations: 33.7 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.3859, allocations: 284.9 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.386, allocations: 83.08 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.3863, allocations: 146.2 kB / 1.101 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3864, allocations: 329.9 kB / 1.102 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.3869, allocations: 209.2 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.3876, allocations: 307.1 kB / 1.102 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009155/0.3885, allocations: 415.2 kB / 1.103 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3885, allocations: 3.938 kB / 1.103 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001745/0.3903, allocations: 0.672 MB / 1.103 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3903, allocations: 5.875 kB / 1.103 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3903, allocations: 4 kB / 1.103 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3904, allocations: 8.141 kB / 1.103 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.391, allocations: 115.8 kB / 1.103 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.3911, allocations: 15.92 kB / 1.103 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.3916, allocations: 39.67 kB / 1.103 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.3917, allocations: 24 kB / 1.103 GB, free: 1.133 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.0005263/0.3922, allocations: 273.6 kB / 1.104 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3924, allocations: 71.06 kB / 1.104 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3926, allocations: 77.88 kB / 1.104 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3926, allocations: 8 kB / 1.104 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.3926, allocations: 3.938 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3926, allocations: 0 / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.3934, allocations: 457.2 kB / 1.104 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3934, allocations: 7.984 kB / 1.104 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3935, allocations: 23.94 kB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3935, allocations: 0 / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.3936, allocations: 7.984 kB / 1.104 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.3936, allocations: 4 kB / 1.104 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3936, allocations: 7.875 kB / 1.104 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3948, allocations: 402.7 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.3951, allocations: 156.1 kB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3952, allocations: 16 kB / 1.105 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.3955, allocations: 19.97 kB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3956, allocations: 19.92 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.3957, allocations: 19.98 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001329/0.397, allocations: 0.6005 MB / 1.106 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3971, allocations: 0 / 1.106 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000855/0.3979, allocations: 116 kB / 1.106 GB, free: 14.77 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.002193/0.4001, allocations: 479.3 kB / 1.106 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.4016, allocations: 413.1 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4016, allocations: 0 / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.402, allocations: 111.8 kB / 1.107 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.4036, allocations: 217.9 kB / 1.107 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.4064, allocations: 1.084 MB / 1.108 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.4072, allocations: 0.9246 MB / 1.109 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004686/0.4077, allocations: 112.9 kB / 1.109 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.4079, allocations: 55.42 kB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of SimCode: time 1.112e-06/0.4079, allocations: 0 / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.02515/0.4331, allocations: 8.015 MB / 1.117 GB, free: 3.57 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