Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001487/0.001487, 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.001647/0.001647, allocations: 216.6 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.555/3.555, allocations: 0.49 GB / 0.7959 GB, free: 33.62 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.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.002102/0.002102, allocations: 66.62 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4655, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004027/0.4695, allocations: 1.448 MB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.4707, allocations: 0.4904 MB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.4708, allocations: 0 / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.4709, allocations: 3.938 kB / 1.329 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.471, allocations: 15.86 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.4722, allocations: 239.8 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.4725, allocations: 143.8 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.4726, allocations: 3.984 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.4727, allocations: 55.92 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4729, allocations: 43.81 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.4729, allocations: 12 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.4734, allocations: 199.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.4735, allocations: 43.91 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.4736, allocations: 51.73 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.4741, allocations: 231.1 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4741, allocations: 0 / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4741, allocations: 0 / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.4741, allocations: 0 / 1.33 GB, free: 15.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008066/0.4749, allocations: 375 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.475, allocations: 12.03 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.101e-05/0.475, allocations: 4.188 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.475, allocations: 34.73 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.4751, allocations: 20.84 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.4754, allocations: 154.3 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4754, allocations: 8.375 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.4754, allocations: 12.31 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.4757, allocations: 87.69 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4757, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4757, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4757, allocations: 8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.4758, allocations: 35.92 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.4761, allocations: 205.6 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.4762, allocations: 73.25 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.4763, allocations: 45.81 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.4764, allocations: 7.938 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.4767, allocations: 119.1 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.4767, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.000434/0.4771, allocations: 193.9 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.4772, allocations: 85.11 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4774, allocations: 151.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.4774, allocations: 37.64 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.4775, allocations: 104.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.4775, allocations: 35.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.4776, allocations: 53.69 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4778, allocations: 326.8 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.4779, allocations: 39.98 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.4781, allocations: 205.1 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4783, allocations: 97.62 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4783, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002559/0.4785, allocations: 169.4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4786, allocations: 8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.4786, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4786, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.4787, allocations: 7.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4787, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.479, allocations: 79.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.479, allocations: 7.984 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001486/0.4792, allocations: 135 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.4792, allocations: 11.95 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.4792, allocations: 16.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4792, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4792, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4792, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.4794, allocations: 168.6 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4794, allocations: 0 / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.4795, allocations: 7.938 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4795, allocations: 4 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.4795, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4795, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4795, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.4798, allocations: 193.8 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.4798, allocations: 15.89 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.4798, allocations: 3.984 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.4799, allocations: 4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.4799, allocations: 7.984 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4799, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001027/0.48, allocations: 120.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.48, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003522/0.4804, allocations: 71.88 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007901/0.4812, allocations: 0.7692 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.4815, allocations: 167.2 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4815, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.4815, allocations: 39.92 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.4817, allocations: 13.39 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.4838, allocations: 1.719 MB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4842, allocations: 0.7157 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.4842, allocations: 12.92 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.4843, allocations: 27.44 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4843, allocations: 0 / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.511, allocations: 4.188 MB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.24, allocations: 6.938 kB / 1.34 GB, free: 3.5 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.081363422970753] Failed to read output from testmodel.py, exit status != 0: 12.408800652017817 12.425146102 11.947622958 Calling exit ...