Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001788/0.001788, allocations: 117.1 kB / 17.16 MB, free: 5.895 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: 215 kB / 20.13 MB, free: 2.949 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.009/3.009, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002107/0.002107, allocations: 75.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003053/1.019, allocations: 2.545 MB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002327/1.022, allocations: 1.714 MB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/1.022, allocations: 16.88 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/1.022, allocations: 330.4 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005696/1.023, allocations: 413.9 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/1.023, allocations: 272.5 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006324/1.024, allocations: 0.7675 MB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/1.024, allocations: 53.47 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/1.024, allocations: 371.9 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/1.025, allocations: 358.9 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/1.025, allocations: 36.38 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/1.025, allocations: 88.02 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/1.025, allocations: 207.5 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/1.026, allocations: 273.8 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008505/1.026, allocations: 0.7834 MB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.026, allocations: 4.625 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/1.026, allocations: 0.6562 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.026, allocations: 0 / 1.33 GB, free: 20.04 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.001409/1.028, allocations: 1.061 MB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.028, allocations: 13.95 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.061e-05/1.028, allocations: 3.109 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/1.028, allocations: 41.69 kB / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.028, allocations: 87.95 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/1.029, allocations: 0.6536 MB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.029, allocations: 14.66 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.029, allocations: 14.8 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/1.029, allocations: 195.1 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.029, allocations: 1.188 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.029, allocations: 10.03 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.029, allocations: 3.266 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/1.03, allocations: 98.39 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/1.031, allocations: 1.066 MB / 1.333 GB, free: 17.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/1.031, allocations: 266.6 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/1.032, allocations: 105.1 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/1.032, allocations: 12.38 kB / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/1.032, allocations: 230.1 kB / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/1.032, allocations: 0 / 1.333 GB, free: 17.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001014/1.033, allocations: 433.4 kB / 1.334 GB, free: 17.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.033, allocations: 162.8 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.035, allocations: 1.08 MB / 1.335 GB, free: 16.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/1.035, allocations: 37.83 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/1.035, allocations: 302 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/1.035, allocations: 78.09 kB / 1.335 GB, free: 16.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/1.035, allocations: 145.5 kB / 1.335 GB, free: 16.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/1.035, allocations: 325.6 kB / 1.336 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/1.036, allocations: 215.7 kB / 1.336 GB, free: 15.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/1.036, allocations: 317.4 kB / 1.336 GB, free: 15.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/1.037, allocations: 413.8 kB / 1.337 GB, free: 15.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.037, allocations: 0 / 1.337 GB, free: 15.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00115/1.038, allocations: 0.6911 MB / 1.337 GB, free: 15.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.038, allocations: 8.094 kB / 1.337 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.038, allocations: 5.047 kB / 1.337 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.038, allocations: 7.969 kB / 1.337 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/1.039, allocations: 116.3 kB / 1.337 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.039, allocations: 4.625 kB / 1.337 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/1.039, allocations: 42.12 kB / 1.337 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/1.039, allocations: 27.66 kB / 1.338 GB, free: 15.11 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.0003346/1.039, allocations: 285.9 kB / 1.338 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.039, allocations: 80.72 kB / 1.338 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/1.04, allocations: 73.97 kB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.04, allocations: 8.531 kB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.04, allocations: 2.75 kB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.04, allocations: 2.828 kB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/1.04, allocations: 479.1 kB / 1.338 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.04, allocations: 2.234 kB / 1.338 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/1.04, allocations: 22.53 kB / 1.338 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.04, allocations: 7.859 kB / 1.338 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/1.04, allocations: 5.375 kB / 1.338 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.04, allocations: 8.062 kB / 1.338 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.04, allocations: 5.594 kB / 1.338 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/1.041, allocations: 401.8 kB / 1.339 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.041, allocations: 160.9 kB / 1.339 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/1.041, allocations: 10.58 kB / 1.339 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.041, allocations: 21.78 kB / 1.339 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/1.041, allocations: 24.03 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/1.041, allocations: 17.47 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008179/1.042, allocations: 0.6283 MB / 1.34 GB, free: 13.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.34 GB, free: 13.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004934/1.043, allocations: 114 kB / 1.34 GB, free: 13.89 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.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.002488/1.045, allocations: 1.314 MB / 1.341 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008142/1.046, allocations: 389 kB / 1.341 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.046, allocations: 1.156 kB / 1.341 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/1.046, allocations: 91.62 kB / 1.342 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.047, allocations: 227.2 kB / 1.342 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/1.056, allocations: 5.992 MB / 1.348 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/1.056, allocations: 0.9417 MB / 1.349 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004196/1.057, allocations: 114 kB / 1.349 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.057, allocations: 248.1 kB / 1.349 GB, free: 8.926 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/1.057, allocations: 1.562 kB / 1.349 GB, free: 8.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/1.096, allocations: 14.01 MB / 1.363 GB, free: 7.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.632/10.73, allocations: 14.5 kB / 1.363 GB, free: 7.398 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.306406691030134] Failed to read output from testmodel.py, exit status != 0: 10.92062845901819 10.933451418 9.904344454 Calling exit ...