Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9172/0.9192, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003898/0.9231, allocations: 2.501 MB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.9258, allocations: 1.605 MB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.9261, allocations: 8.875 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.9268, allocations: 325.1 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006671/0.9275, allocations: 343.4 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.9285, allocations: 436.8 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.9294, allocations: 0.7128 MB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.9295, allocations: 46.95 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.93, allocations: 355.5 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.9304, allocations: 348 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.9305, allocations: 29.88 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.9307, allocations: 92.47 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.9309, allocations: 196.7 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.9311, allocations: 266 kB / 1.279 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009907/0.9321, allocations: 0.7408 MB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9321, allocations: 5.094 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9321, allocations: 3.938 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.9321, allocations: 0 / 1.279 GB, free: 3.137 MB / 0.9981 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.001532/0.9337, allocations: 1.02 MB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9337, allocations: 13.47 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.9337, allocations: 47.58 kB / 1.28 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.9339, allocations: 77.39 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.9347, allocations: 0.6322 MB / 1.281 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.9347, allocations: 19.86 kB / 1.281 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.9348, allocations: 9.812 kB / 1.281 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.9352, allocations: 209.3 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9352, allocations: 0 / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.9352, allocations: 5.047 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9352, allocations: 6.688 kB / 1.281 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.9355, allocations: 102.6 kB / 1.281 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.9367, allocations: 1.055 MB / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.9372, allocations: 265.6 kB / 1.283 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.9374, allocations: 99.36 kB / 1.283 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.9374, allocations: 8.719 kB / 1.283 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.9378, allocations: 226.5 kB / 1.283 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.9378, allocations: 0 / 1.283 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.000886/0.9387, allocations: 418.8 kB / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.9387, allocations: 167.9 kB / 1.284 GB, free: 152 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.94, allocations: 1.031 MB / 1.285 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.9401, allocations: 41.41 kB / 1.285 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.9403, allocations: 291.5 kB / 1.285 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.9404, allocations: 76.25 kB / 1.285 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.9406, allocations: 139.1 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.9408, allocations: 331 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.9412, allocations: 214.2 kB / 1.286 GB, free: 14.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.9417, allocations: 306.7 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.9424, allocations: 413.5 kB / 1.286 GB, free: 14.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9424, allocations: 0 / 1.286 GB, free: 14.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001228/0.9437, allocations: 0.6747 MB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9437, allocations: 9.969 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9437, allocations: 2.625 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.9437, allocations: 6.344 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.9441, allocations: 114.5 kB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.9441, allocations: 11.19 kB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.9444, allocations: 45.5 kB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.9445, allocations: 24.39 kB / 1.287 GB, free: 14.29 MB / 1.014 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.0003803/0.9449, allocations: 283.4 kB / 1.287 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.945, allocations: 81.27 kB / 1.288 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.9457, allocations: 368 kB / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9458, allocations: 7.281 kB / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9458, allocations: 1.844 kB / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9458, allocations: 2.812 kB / 1.288 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.9463, allocations: 457.1 kB / 1.288 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9463, allocations: 5.188 kB / 1.288 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.9464, allocations: 22.75 kB / 1.288 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.9464, allocations: 3.016 kB / 1.288 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.9464, allocations: 11.06 kB / 1.288 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.9464, allocations: 10.47 kB / 1.288 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9465, allocations: 1.438 kB / 1.288 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.9472, allocations: 397.2 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.9474, allocations: 167.6 kB / 1.289 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.9474, allocations: 11.84 kB / 1.289 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.9476, allocations: 20.69 kB / 1.289 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.9477, allocations: 21.67 kB / 1.289 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.9477, allocations: 18.83 kB / 1.289 GB, free: 13.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008623/0.9486, allocations: 0.6027 MB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9486, allocations: 0 / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004792/0.9491, allocations: 114.7 kB / 1.29 GB, free: 12.97 MB / 1.014 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.002912/0.952, allocations: 1.317 MB / 1.291 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008439/0.9528, allocations: 379.8 kB / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9528, allocations: 0 / 1.291 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.9531, allocations: 105.4 kB / 1.291 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9541, allocations: 226.4 kB / 1.292 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.9635, allocations: 5.797 MB / 1.297 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009458/0.9644, allocations: 0.9261 MB / 1.298 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000551/0.965, allocations: 109.8 kB / 1.298 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.9654, allocations: 233.1 kB / 1.299 GB, free: 8.113 MB / 1.014 GB Notification: Performance of SimCode: time 1.422e-06/0.9654, allocations: 0 / 1.299 GB, free: 8.113 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/1.018, allocations: 13.6 MB / 1.312 GB, free: 6.613 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.353/10.37, allocations: 1.312 kB / 1.312 GB, free: 6.613 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.779612177982926] Failed to read output from testmodel.py, exit status != 0: 10.503708110016305 10.530698231 9.593805252 Calling exit ...