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.001521/0.001521, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00151/0.00151, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002035/0.002035, allocations: 64.45 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4013, allocations: 176.1 MB / 1.327 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002187/0.4034, allocations: 0.8375 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.4055, allocations: 1.463 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.4056, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.4061, allocations: 195.4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.4063, allocations: 111.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.4073, allocations: 358.3 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009957/0.4083, allocations: 0.8699 MB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.4085, allocations: 64.48 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.4089, allocations: 355.4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.4093, allocations: 283.3 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.4094, allocations: 44 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.4097, allocations: 127.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.4102, allocations: 367.2 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.4105, allocations: 239 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.4115, allocations: 0.9154 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4115, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4115, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4115, allocations: 0 / 1.333 GB, free: 11.35 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.001576/0.4131, allocations: 0.8376 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4131, allocations: 12.03 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.412e-05/0.4131, allocations: 432 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.4132, allocations: 50.73 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4134, allocations: 52.66 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.4142, allocations: 0.4926 MB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.4142, allocations: 20.61 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4143, allocations: 36.38 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.4148, allocations: 315.3 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4148, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4149, allocations: 8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4149, allocations: 4 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.4152, allocations: 227.7 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.4171, allocations: 1.023 MB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.4178, allocations: 463.8 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.418, allocations: 182.5 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.418, allocations: 4 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004892/0.4185, allocations: 333.5 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/0.4185, allocations: 3.938 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.00108/0.4196, allocations: 0.626 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.4197, allocations: 114.8 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.4204, allocations: 0.5955 MB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/0.4205, allocations: 45.7 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.4208, allocations: 217.6 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.4208, allocations: 59.56 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.4211, allocations: 181.5 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4213, allocations: 362.8 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.4215, allocations: 127.9 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.423, allocations: 1.775 MB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.4234, allocations: 296.6 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4234, allocations: 0 / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006757/0.4241, allocations: 421.3 kB / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4241, allocations: 13.88 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4241, allocations: 4 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4241, allocations: 8.688 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.4243, allocations: 39.84 kB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4243, allocations: 12.17 kB / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4256, allocations: 128 kB / 1.341 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.4256, allocations: 16 kB / 1.341 GB, free: 1.582 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.0003271/0.426, allocations: 254.2 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.426, allocations: 47.66 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.4261, allocations: 51.31 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4261, allocations: 4 kB / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4261, allocations: 7.984 kB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4261, allocations: 4 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.4265, allocations: 336.4 kB / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4265, allocations: 0 / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4266, allocations: 4 kB / 1.342 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4266, allocations: 4 kB / 1.342 GB, free: 0.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.4266, allocations: 15.92 kB / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4266, allocations: 0 / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4266, allocations: 0 / 1.342 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.4273, allocations: 0.5123 MB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.4274, allocations: 51.75 kB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.4274, allocations: 3.938 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4276, allocations: 23.98 kB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.4277, allocations: 31.95 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4277, allocations: 8 kB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005289/0.4282, allocations: 435.1 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004578/0.4287, allocations: 119.8 kB / 1.343 GB, free: 15.62 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: 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.001155/0.4298, allocations: 1.096 MB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005986/0.4304, allocations: 348.4 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4305, allocations: 0 / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.4307, allocations: 164 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4311, allocations: 46.06 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.4368, allocations: 4.42 MB / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.4371, allocations: 233.4 kB / 1.349 GB, free: 9.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002651/0.4373, allocations: 99.05 kB / 1.35 GB, free: 8.988 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.4375, allocations: 127.4 kB / 1.35 GB, free: 8.863 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.4375, allocations: 4 kB / 1.35 GB, free: 8.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.4741, allocations: 12.47 MB / 1.362 GB, free: 12.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.49, allocations: 11.78 kB / 1.362 GB, free: 12.77 MB / 1.061 GB " [Timeout remaining time 287] (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.346098901936784] Failed to read output from testmodel.py, exit status != 0: 12.653419252019376 12.677580716 12.261572615 Calling exit ...