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.001355/0.001355, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00159/0.00159, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.328/3.328, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) [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.002022/0.002022, allocations: 62.19 kB / 1.171 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3714, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.0046/0.376, allocations: 2.374 MB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3793, allocations: 1.642 MB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.3797, allocations: 15.88 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.3805, allocations: 326.8 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.3815, allocations: 422.4 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.3822, allocations: 283.5 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3834, allocations: 0.7751 MB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.3836, allocations: 54.16 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.3842, allocations: 346.7 kB / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.3848, allocations: 370.5 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.385, allocations: 32 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.3852, allocations: 95.97 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.3855, allocations: 211.1 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.3858, allocations: 210.5 kB / 1.352 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.3869, allocations: 0.7973 MB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3869, allocations: 4 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3869, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.3869, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.045 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.002537/0.3895, allocations: 0.9891 MB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.3895, allocations: 12.03 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.227e-05/0.3895, allocations: 192 / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.249e-05/0.3896, allocations: 50.67 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.3898, allocations: 84.38 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3911, allocations: 0.564 MB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.3911, allocations: 15.94 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.3912, allocations: 15.98 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.3917, allocations: 213.7 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3917, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.3918, allocations: 11.98 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3918, allocations: 0 / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.3921, allocations: 107.9 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.3942, allocations: 1.012 MB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.3949, allocations: 277 kB / 1.356 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.3951, allocations: 112.2 kB / 1.356 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3952, allocations: 7.922 kB / 1.356 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.3957, allocations: 231.4 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.3957, allocations: 0 / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001244/0.3969, allocations: 468.8 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.397, allocations: 158.2 kB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.3988, allocations: 1.095 MB / 1.358 GB, free: 2.309 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.3989, allocations: 37.7 kB / 1.358 GB, free: 2.266 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.3992, allocations: 296.9 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3993, allocations: 79.47 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3996, allocations: 146.1 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3998, allocations: 338 kB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.4002, allocations: 217.2 kB / 1.359 GB, free: 1.195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.4007, allocations: 327 kB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.4015, allocations: 427.4 kB / 1.36 GB, free: 412 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4015, allocations: 0 / 1.36 GB, free: 412 kB / 1.045 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001541/0.4031, allocations: 0.7068 MB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4031, allocations: 4 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4031, allocations: 4 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.4031, allocations: 7.75 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4036, allocations: 115.8 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.4036, allocations: 7.938 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4041, allocations: 47.77 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.4041, allocations: 32.14 kB / 1.361 GB, free: 15.48 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.0004376/0.4046, allocations: 270.9 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.4048, allocations: 79.48 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.4057, allocations: 423.8 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4058, allocations: 4 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4058, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4058, allocations: 7.922 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.4064, allocations: 412.4 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4064, allocations: 8 kB / 1.362 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.4065, allocations: 27.92 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4065, allocations: 4 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.4066, allocations: 15.92 kB / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4066, allocations: 4 kB / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4066, allocations: 0 / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.4074, allocations: 436.2 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.4076, allocations: 95.41 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4077, allocations: 15.92 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4079, allocations: 23.98 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.408, allocations: 23.97 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.408, allocations: 19.98 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009861/0.409, allocations: 0.6357 MB / 1.363 GB, free: 12.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.409, allocations: 0 / 1.363 GB, free: 12.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005506/0.4096, allocations: 123.9 kB / 1.364 GB, free: 12.8 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 (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.003018/0.4126, allocations: 1.393 MB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009714/0.4136, allocations: 422.2 kB / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4136, allocations: 4 kB / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4139, allocations: 107.8 kB / 1.365 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.415, allocations: 235.3 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009857/0.4249, allocations: 6.067 MB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4253, allocations: 349.6 kB / 1.372 GB, free: 4.207 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003666/0.4256, allocations: 125.1 kB / 1.372 GB, free: 4.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.426, allocations: 243.3 kB / 1.372 GB, free: 3.848 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/0.426, allocations: 0 / 1.372 GB, free: 3.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04263/0.4687, allocations: 15.2 MB / 1.387 GB, free: 4.871 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.38, allocations: 3.375 kB / 1.387 GB, free: 4.871 MB / 1.076 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.447554905083962] Failed to read output from testmodel.py, exit status != 0: 13.609815342002548 13.636092541 13.243909914 Calling exit ...