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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.242/3.242, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.2 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 180.2 MB / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00489/0.3699, allocations: 2.543 MB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.3732, allocations: 1.737 MB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.3734, allocations: 23.75 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.3741, allocations: 322.8 kB / 1.359 GB, free: 3.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008195/0.375, allocations: 406.4 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.3755, allocations: 295.4 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009107/0.3765, allocations: 0.7751 MB / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3766, allocations: 53.88 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.3772, allocations: 370.6 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3776, allocations: 354.6 kB / 1.361 GB, free: 1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.3777, allocations: 32 kB / 1.361 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3779, allocations: 95.91 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.3781, allocations: 203.2 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3783, allocations: 282 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.3792, allocations: 0.7817 MB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3792, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3792, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3792, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.061 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.001609/0.3808, allocations: 0.9893 MB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3809, allocations: 8.031 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.381, allocations: 88.38 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009774/0.382, allocations: 0.5769 MB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.382, allocations: 8.375 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.382, allocations: 23.88 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3824, allocations: 198.4 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3824, allocations: 0 / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3825, allocations: 8 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3825, allocations: 4 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3827, allocations: 99.86 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3842, allocations: 1.039 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3848, allocations: 261 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.385, allocations: 104.2 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3851, allocations: 11.92 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.3855, allocations: 215.5 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.3855, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0009941/0.3865, allocations: 433.9 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3866, allocations: 166.2 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3879, allocations: 1.079 MB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.388, allocations: 33.7 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.3883, allocations: 308.9 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.3883, allocations: 71.52 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3885, allocations: 150.2 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3887, allocations: 329.9 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3891, allocations: 217.2 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.3896, allocations: 311 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.3903, allocations: 413.2 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3903, allocations: 3.938 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001228/0.3915, allocations: 0.7017 MB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3915, allocations: 8 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3916, allocations: 0 / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3916, allocations: 4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.392, allocations: 119.8 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.392, allocations: 11.92 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.3923, allocations: 43.92 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.3924, allocations: 31.98 kB / 1.37 GB, free: 7.258 MB / 1.061 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.00035/0.3927, allocations: 281.6 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3928, allocations: 79.48 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.3936, allocations: 376.1 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3936, allocations: 8 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3936, allocations: 3.938 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3936, allocations: 0 / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.3941, allocations: 444.3 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3941, allocations: 4 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.3942, allocations: 23.92 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3942, allocations: 0 / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3942, allocations: 8 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3942, allocations: 7.984 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3942, allocations: 3.938 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.3949, allocations: 395.8 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3951, allocations: 91.41 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.3952, allocations: 15.98 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3953, allocations: 15.98 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.3954, allocations: 27.91 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.3954, allocations: 15.98 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008134/0.3963, allocations: 0.62 MB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3963, allocations: 0 / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004503/0.3967, allocations: 123.9 kB / 1.372 GB, free: 4.668 MB / 1.061 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * 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.001855/0.3986, allocations: 486.9 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008491/0.3994, allocations: 394.6 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3994, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.3997, allocations: 87.89 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.4006, allocations: 226 kB / 1.374 GB, free: 3.695 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4024, allocations: 1.203 MB / 1.375 GB, free: 2.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.403, allocations: 0.9364 MB / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4031, allocations: 67.41 kB / 1.376 GB, free: 1.418 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4031, allocations: 4 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of Templates: time 0.01458/0.4177, allocations: 9.247 MB / 1.385 GB, free: 8.191 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.861909945990192]