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.00144/0.00144, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001455/0.001455, allocations: 209.4 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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.002105/0.002105, allocations: 68.59 kB / 1.155 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3821, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002258/0.3843, allocations: 0.8702 MB / 1.328 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3867, allocations: 1.486 MB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.3868, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.3874, allocations: 203.4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3876, allocations: 119.5 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3887, allocations: 364.4 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.3898, allocations: 0.8895 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.39, allocations: 52.55 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.3905, allocations: 355.4 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.3909, allocations: 283.3 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3911, allocations: 48 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.3914, allocations: 119.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.3919, allocations: 371.2 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.3922, allocations: 278.8 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3933, allocations: 0.9231 MB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3933, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3933, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3933, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 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.00172/0.395, allocations: 0.828 MB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3951, allocations: 8.031 kB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.875e-05/0.3951, allocations: 8.422 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.3952, allocations: 50.73 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3953, allocations: 52.66 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.3963, allocations: 0.4887 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3963, allocations: 24.61 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3964, allocations: 36.38 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.397, allocations: 310.7 kB / 1.335 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.397, allocations: 7.938 kB / 1.335 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.397, allocations: 4 kB / 1.335 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.397, allocations: 11.98 kB / 1.335 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.3975, allocations: 215.8 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3996, allocations: 1.144 MB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.4003, allocations: 459.8 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.4006, allocations: 178.6 kB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4006, allocations: 4 kB / 1.337 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.4011, allocations: 334.5 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 5.35e-06/0.4011, allocations: 3.984 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001266/0.4024, allocations: 0.6343 MB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.4025, allocations: 110.8 kB / 1.338 GB, free: 6.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.4033, allocations: 0.6033 MB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4034, allocations: 45.7 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.4037, allocations: 217.6 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.4037, allocations: 51.72 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.404, allocations: 189.5 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4042, allocations: 358.8 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.4044, allocations: 127.9 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.4054, allocations: 0.7209 MB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.4058, allocations: 296.6 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4058, allocations: 4 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008111/0.4066, allocations: 421.2 kB / 1.341 GB, free: 3.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4067, allocations: 9.781 kB / 1.341 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4067, allocations: 4 kB / 1.341 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.4067, allocations: 7.938 kB / 1.341 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.4069, allocations: 35.92 kB / 1.341 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.4069, allocations: 11.92 kB / 1.341 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4083, allocations: 132.2 kB / 1.341 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.4083, allocations: 12 kB / 1.341 GB, free: 3.035 MB / 1.029 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.0004301/0.4087, allocations: 266.6 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.4088, allocations: 39.72 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.4089, allocations: 55.31 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4089, allocations: 8 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4089, allocations: 0 / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4089, allocations: 3.984 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.4094, allocations: 384.3 kB / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4094, allocations: 0 / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.4094, allocations: 11.92 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4094, allocations: 0 / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.4095, allocations: 11.94 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4095, allocations: 4 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4095, allocations: 0 / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.4102, allocations: 0.5158 MB / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.4103, allocations: 47.75 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.4104, allocations: 11.92 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.4106, allocations: 15.98 kB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4107, allocations: 31.97 kB / 1.342 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.4107, allocations: 15.98 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005573/0.4113, allocations: 435.1 kB / 1.343 GB, free: 1.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4113, allocations: 0 / 1.343 GB, free: 1.129 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005216/0.4118, allocations: 115.9 kB / 1.343 GB, free: 1.016 MB / 1.029 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.001296/0.4131, allocations: 1.102 MB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.4138, allocations: 347.6 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4138, allocations: 0 / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.414, allocations: 163.8 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.4144, allocations: 46.66 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.4205, allocations: 4.404 MB / 1.349 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.4211, allocations: 0.8506 MB / 1.349 GB, free: 9.863 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.4214, allocations: 94.92 kB / 1.349 GB, free: 9.773 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.4216, allocations: 131.4 kB / 1.35 GB, free: 9.645 MB / 1.045 GB Notification: Performance of SimCode: time 1.512e-06/0.4216, allocations: 0 / 1.35 GB, free: 9.645 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.46, allocations: 11.85 MB / 1.361 GB, free: 14.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.27, allocations: 8.047 kB / 1.361 GB, free: 14.09 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.146772685984615] Failed to read output from testmodel.py, exit status != 0: 12.439295165007934 12.464735182 12.066323035 Calling exit ...