Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001888/0.001888, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002108/0.002108, allocations: 217 kB / 23.04 MB, free: 5.074 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.322/3.322, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001971/0.001971, allocations: 70.91 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.426, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001899/0.4279, allocations: 0.6831 MB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.43, allocations: 1.381 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.43, allocations: 11.94 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.4306, allocations: 183.6 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.4307, allocations: 107.6 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.4314, allocations: 240.3 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.432, allocations: 0.4919 MB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.4321, allocations: 0 / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.4323, allocations: 207.7 kB / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.4327, allocations: 227.5 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.4327, allocations: 20 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.433, allocations: 107.8 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.4334, allocations: 275.4 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.4336, allocations: 151.3 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.4342, allocations: 486.7 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4342, allocations: 4 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4342, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4343, allocations: 0 / 1.35 GB, free: 11.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001102/0.4354, allocations: 0.5631 MB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4354, allocations: 12.03 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/0.4354, allocations: 192 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.4355, allocations: 42.67 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4356, allocations: 32.75 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.4362, allocations: 326.5 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4362, allocations: 8.375 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.4363, allocations: 20.38 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4366, allocations: 196.4 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4366, allocations: 3.984 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4367, allocations: 7.984 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4367, allocations: 3.938 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.4368, allocations: 111.9 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4373, allocations: 362.1 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.4377, allocations: 307.6 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.4379, allocations: 134.6 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.4379, allocations: 0 / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.4385, allocations: 289.5 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.4385, allocations: 0 / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0008547/0.4393, allocations: 0.4899 MB / 1.353 GB, free: 8.863 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.4394, allocations: 114.8 kB / 1.353 GB, free: 8.727 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.4399, allocations: 396.5 kB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.44, allocations: 41.7 kB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4401, allocations: 156.7 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.4402, allocations: 47.67 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.4403, allocations: 113.6 kB / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4405, allocations: 346.8 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4406, allocations: 83.95 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.4412, allocations: 463.4 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.4415, allocations: 257.4 kB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4415, allocations: 4 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005476/0.4421, allocations: 337.2 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4421, allocations: 5.875 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4421, allocations: 4.156 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4421, allocations: 8 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.4423, allocations: 27.92 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.4423, allocations: 11.97 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.4431, allocations: 76.11 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4431, allocations: 16.12 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002251/0.4433, allocations: 191.7 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.4434, allocations: 31.75 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.4434, allocations: 33.89 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4434, allocations: 4 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4434, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4434, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.4437, allocations: 260.6 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4437, allocations: 0 / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.4437, allocations: 11.88 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4437, allocations: 0 / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.4438, allocations: 11.98 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4438, allocations: 4 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4438, allocations: 0 / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.4444, allocations: 434.4 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.4444, allocations: 39.72 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.4445, allocations: 4 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.4446, allocations: 4 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.4446, allocations: 15.97 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4446, allocations: 12 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003452/0.445, allocations: 291 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.445, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003904/0.4454, allocations: 87.86 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001181/0.4466, allocations: 0.9978 MB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.4471, allocations: 251.7 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4471, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.4472, allocations: 119.9 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.4476, allocations: 28.64 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.4516, allocations: 3.265 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.452, allocations: 0.7677 MB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000128/0.4522, allocations: 62.3 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4523, allocations: 79.41 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4523, allocations: 0 / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.4834, allocations: 7.853 MB / 1.369 GB, free: 7.246 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.03, allocations: 12 kB / 1.369 GB, free: 7.234 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.993953116005287] Failed to read output from testmodel.py, exit status != 0: 12.194849364983384 12.225942287 11.786075671 Calling exit ...