Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.00181/0.00181, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002192/0.002192, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.224/3.224, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001988/0.001988, allocations: 68.59 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4144, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002605/0.417, allocations: 0.871 MB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.4193, allocations: 1.486 MB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.4194, allocations: 7.938 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.4199, allocations: 195.5 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.4201, allocations: 115.6 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4211, allocations: 374.2 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.4221, allocations: 0.8853 MB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.4223, allocations: 52.56 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.4228, allocations: 351.4 kB / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.4233, allocations: 291.3 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.4234, allocations: 44 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.4237, allocations: 127.8 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.4242, allocations: 367.3 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.4245, allocations: 274.8 kB / 1.351 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.4255, allocations: 0.9153 MB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4255, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4255, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4255, allocations: 0 / 1.351 GB, free: 10.16 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001651/0.4272, allocations: 0.828 MB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4272, allocations: 11.97 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.569e-05/0.4272, allocations: 4.422 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.4273, allocations: 46.73 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.4275, allocations: 60.61 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.4283, allocations: 496.5 kB / 1.353 GB, free: 8.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.4284, allocations: 28.59 kB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4285, allocations: 32.38 kB / 1.353 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.429, allocations: 315.1 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.429, allocations: 0 / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.429, allocations: 11.92 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.429, allocations: 4 kB / 1.353 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.4294, allocations: 223.8 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.4315, allocations: 1.155 MB / 1.355 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.4322, allocations: 451.8 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.4325, allocations: 182.6 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4325, allocations: 7.938 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005206/0.4331, allocations: 325.5 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.654e-06/0.4331, allocations: 0 / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001221/0.4343, allocations: 0.6299 MB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4344, allocations: 114.8 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/0.4352, allocations: 0.5955 MB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.4353, allocations: 49.69 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4355, allocations: 213.7 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.4356, allocations: 59.52 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.4359, allocations: 181.5 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.4362, allocations: 366.8 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4364, allocations: 131.8 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.4373, allocations: 0.7095 MB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.4377, allocations: 296.6 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4377, allocations: 0 / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007798/0.4385, allocations: 425.7 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4385, allocations: 8 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4385, allocations: 0 / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.4385, allocations: 11.94 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4387, allocations: 35.86 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.4387, allocations: 8 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4401, allocations: 128.5 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.4401, allocations: 16 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003617/0.4405, allocations: 257.7 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.4406, allocations: 47.7 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/0.4406, allocations: 51.31 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4407, allocations: 7.984 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4407, allocations: 0 / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4407, allocations: 7.984 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.4411, allocations: 380.3 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4411, allocations: 3.938 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.4412, allocations: 7.938 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4412, allocations: 4 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4412, allocations: 15.92 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4412, allocations: 3.984 kB / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4412, allocations: 0 / 1.36 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.442, allocations: 0.515 MB / 1.361 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.4421, allocations: 47.75 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.4421, allocations: 11.94 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4423, allocations: 19.97 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.4424, allocations: 27.97 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.4424, allocations: 15.98 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000565/0.443, allocations: 431.1 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.443, allocations: 0 / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004921/0.4435, allocations: 115.8 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001249/0.4447, allocations: 1.101 MB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006387/0.4453, allocations: 348.1 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4453, allocations: 4.25 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.4456, allocations: 163.8 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4459, allocations: 39.67 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.4523, allocations: 4.416 MB / 1.367 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4528, allocations: 0.835 MB / 1.368 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000302/0.4531, allocations: 102 kB / 1.368 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.4533, allocations: 131.4 kB / 1.368 GB, free: 8.215 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/0.4533, allocations: 0 / 1.368 GB, free: 8.215 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.5063, allocations: 11.85 MB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.39, allocations: 13.31 kB / 1.38 GB, free: 12.61 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.30788511200808] Failed to read output from testmodel.py, exit status != 0: 12.559976717981044 12.585872409 12.155298357 Calling exit ...