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.001704/0.001704, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002093/0.002093, allocations: 221.8 kB / 22.99 MB, free: 4.914 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.304/3.304, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.002069/0.002069, allocations: 71.45 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003871/0.3776, allocations: 2.385 MB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.3808, allocations: 1.648 MB / 1.369 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.381, allocations: 15.88 kB / 1.369 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.3816, allocations: 326.7 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.3824, allocations: 422.4 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.383, allocations: 287.4 kB / 1.37 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008306/0.3838, allocations: 0.7751 MB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.384, allocations: 49.89 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.3844, allocations: 334.6 kB / 1.371 GB, free: 7.371 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.3849, allocations: 354.5 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.3849, allocations: 36 kB / 1.371 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3851, allocations: 91.97 kB / 1.371 GB, free: 6.898 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.3853, allocations: 207.2 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3856, allocations: 202.5 kB / 1.372 GB, free: 6.496 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.3864, allocations: 0.7973 MB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3864, allocations: 3.938 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3864, allocations: 4 kB / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.3864, allocations: 0 / 1.372 GB, free: 5.688 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.001598/0.388, allocations: 0.9855 MB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3881, allocations: 8.031 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3882, allocations: 84.42 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.3892, allocations: 0.5769 MB / 1.374 GB, free: 3.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3892, allocations: 16.36 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.3893, allocations: 15.94 kB / 1.374 GB, free: 3.949 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.3897, allocations: 213.1 kB / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3897, allocations: 0 / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.3897, allocations: 7.984 kB / 1.374 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3897, allocations: 0 / 1.374 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.39, allocations: 115.9 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3914, allocations: 0.9656 MB / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.392, allocations: 281 kB / 1.376 GB, free: 2.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.3923, allocations: 108.2 kB / 1.376 GB, free: 2.148 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3923, allocations: 8 kB / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.3927, allocations: 227.4 kB / 1.376 GB, free: 1.891 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.3927, allocations: 3.938 kB / 1.376 GB, free: 1.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001011/0.3937, allocations: 457.2 kB / 1.376 GB, free: 1.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.3938, allocations: 166.2 kB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.3952, allocations: 1.083 MB / 1.378 GB, free: 144 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.3952, allocations: 37.7 kB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.3955, allocations: 313 kB / 1.378 GB, free: 15.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.3956, allocations: 75.39 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3958, allocations: 110.1 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3959, allocations: 330 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3963, allocations: 164.9 kB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.3967, allocations: 271.2 kB / 1.379 GB, free: 14.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.3973, allocations: 390.8 kB / 1.379 GB, free: 14.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3973, allocations: 0 / 1.379 GB, free: 14.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001072/0.3984, allocations: 0.5863 MB / 1.38 GB, free: 13.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3984, allocations: 8 kB / 1.38 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3984, allocations: 4 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3985, allocations: 4 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.3988, allocations: 99.94 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3989, allocations: 8 kB / 1.38 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3991, allocations: 47.7 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.3992, allocations: 23.98 kB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$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,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 (61): * Single equations (assignments): 61 * 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.0003319/0.3995, allocations: 273.7 kB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3996, allocations: 83.47 kB / 1.38 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.4005, allocations: 415.8 kB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4005, allocations: 4 kB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4005, allocations: 4 kB / 1.381 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4005, allocations: 3.938 kB / 1.381 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.401, allocations: 381.3 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.401, allocations: 0 / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4011, allocations: 35.92 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.4011, allocations: 4 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.4011, allocations: 15.98 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4011, allocations: 0 / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4011, allocations: 7.938 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/0.4019, allocations: 444.3 kB / 1.381 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.402, allocations: 87.41 kB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.4021, allocations: 16 kB / 1.382 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4023, allocations: 15.97 kB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.4024, allocations: 31.91 kB / 1.382 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.4024, allocations: 15.98 kB / 1.382 GB, free: 11.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008851/0.4033, allocations: 0.6825 MB / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4033, allocations: 0 / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004289/0.4037, allocations: 111.9 kB / 1.382 GB, free: 10.95 MB / 1.076 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 (30): * Single equations (assignments): 20 * 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.001998/0.4057, allocations: 0.5143 MB / 1.383 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007561/0.4065, allocations: 347.1 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4065, allocations: 0 / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.4068, allocations: 120.5 kB / 1.383 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.4077, allocations: 225.2 kB / 1.384 GB, free: 9.977 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4096, allocations: 1.218 MB / 1.385 GB, free: 8.711 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4099, allocations: 345.8 kB / 1.385 GB, free: 8.348 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4101, allocations: 67.41 kB / 1.385 GB, free: 8.281 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.4101, allocations: 0 / 1.385 GB, free: 8.281 MB / 1.076 GB Notification: Performance of Templates: time 0.01488/0.425, allocations: 9.643 MB / 1.395 GB, free: 14.66 MB / 1.092 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.969637183938175]