Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0013/0.0013, allocations: 114.7 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.001481/0.001481, allocations: 210.3 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.507/1.507, 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 2.998/2.998, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_12_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_12_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.002301/0.002301, allocations: 71.81 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 176.1 MB / 1.321 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001961/1.012, allocations: 0.8578 MB / 1.322 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00164/1.014, allocations: 1.5 MB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/1.014, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/1.015, allocations: 199 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/1.015, allocations: 110.2 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/1.016, allocations: 361.3 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006526/1.016, allocations: 0.8778 MB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/1.016, allocations: 73.91 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/1.017, allocations: 349.3 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/1.017, allocations: 284.6 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/1.017, allocations: 45.25 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/1.017, allocations: 107.3 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/1.018, allocations: 363 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/1.018, allocations: 270.5 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/1.019, allocations: 0.9187 MB / 1.328 GB, free: 21.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.019, allocations: 0 / 1.328 GB, free: 21.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.695e-06/1.019, allocations: 1.484 kB / 1.328 GB, free: 21.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.019, allocations: 0 / 1.328 GB, free: 21.61 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001811/1.021, allocations: 0.908 MB / 1.329 GB, free: 20.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.021, allocations: 14.36 kB / 1.329 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/1.021, allocations: 3.422 kB / 1.329 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/1.021, allocations: 42.84 kB / 1.329 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/1.022, allocations: 54.78 kB / 1.329 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/1.022, allocations: 0.547 MB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/1.022, allocations: 25.95 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.023, allocations: 37 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/1.023, allocations: 307.3 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.023, allocations: 0 / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/1.023, allocations: 8.188 kB / 1.33 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.023, allocations: 2.938 kB / 1.33 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/1.023, allocations: 224 kB / 1.33 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/1.025, allocations: 1.183 MB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/1.026, allocations: 458.7 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.026, allocations: 175 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.026, allocations: 6.344 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/1.027, allocations: 336.6 kB / 1.332 GB, free: 19.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/1.027, allocations: 0 / 1.332 GB, free: 19.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001288/1.028, allocations: 0.6434 MB / 1.332 GB, free: 18.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.028, allocations: 112 kB / 1.333 GB, free: 18.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.029, allocations: 0.6003 MB / 1.333 GB, free: 18.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.029, allocations: 45.34 kB / 1.333 GB, free: 18.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/1.03, allocations: 217.2 kB / 1.333 GB, free: 18.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/1.03, allocations: 52.33 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/1.03, allocations: 184.1 kB / 1.334 GB, free: 18.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.03, allocations: 361.3 kB / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.03, allocations: 126.6 kB / 1.334 GB, free: 17.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/1.031, allocations: 0.7211 MB / 1.335 GB, free: 17.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.031, allocations: 294.7 kB / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.031, allocations: 0 / 1.335 GB, free: 17.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006859/1.032, allocations: 427.2 kB / 1.335 GB, free: 17.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.032, allocations: 7.578 kB / 1.335 GB, free: 17.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.032, allocations: 4.125 kB / 1.335 GB, free: 17.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.032, allocations: 8.062 kB / 1.335 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/1.032, allocations: 32.08 kB / 1.336 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.032, allocations: 10.42 kB / 1.336 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.034, allocations: 126.2 kB / 1.336 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1.034, allocations: 11.05 kB / 1.336 GB, free: 16.96 MB / 1.061 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.0003676/1.034, allocations: 263.6 kB / 1.336 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/1.034, allocations: 43.86 kB / 1.336 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/1.034, allocations: 58.95 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.034, allocations: 8.094 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.034, allocations: 0.7031 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.034, allocations: 2.75 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/1.035, allocations: 409 kB / 1.336 GB, free: 16.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.035, allocations: 4 kB / 1.336 GB, free: 16.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/1.035, allocations: 5.953 kB / 1.336 GB, free: 16.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.035, allocations: 5.25 kB / 1.336 GB, free: 16.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/1.035, allocations: 18.09 kB / 1.336 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.035, allocations: 2.344 kB / 1.336 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.035, allocations: 2.438 kB / 1.336 GB, free: 16.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/1.036, allocations: 0.5097 MB / 1.337 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/1.036, allocations: 123.3 kB / 1.337 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/1.036, allocations: 12.08 kB / 1.337 GB, free: 16.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/1.036, allocations: 16.77 kB / 1.337 GB, free: 16.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/1.036, allocations: 34.61 kB / 1.337 GB, free: 16.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.036, allocations: 16.23 kB / 1.337 GB, free: 16.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005066/1.036, allocations: 433.2 kB / 1.338 GB, free: 15.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 1.406 kB / 1.338 GB, free: 15.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006121/1.037, allocations: 111.5 kB / 1.338 GB, free: 15.88 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.001043/1.038, allocations: 1.109 MB / 1.339 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006888/1.039, allocations: 346.3 kB / 1.339 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.039, allocations: 5.719 kB / 1.339 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/1.039, allocations: 162.8 kB / 1.339 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/1.039, allocations: 46.52 kB / 1.339 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/1.045, allocations: 4.418 MB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/1.046, allocations: 0.8415 MB / 1.344 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003835/1.046, allocations: 95.98 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.046, allocations: 129.6 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of SimCode: time 1.383e-06/1.046, allocations: 0 / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/1.085, allocations: 11.64 MB / 1.356 GB, free: 10.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.03/10.12, allocations: 8.875 kB / 1.356 GB, free: 10.71 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.698059591988567] Failed to read output from testmodel.py, exit status != 0: 10.251875829999335 10.278188676 9.254392551 Calling exit ...