Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001842/0.001842, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002132/0.002132, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.327/3.327, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_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.002013/0.002013, allocations: 66.22 kB / 1.17 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4776, allocations: 179 MB / 1.345 GB, free: 164 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003042/0.4807, allocations: 1.43 MB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.4816, allocations: 446.4 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.4817, allocations: 4 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.041e-05/0.4818, allocations: 7.922 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.4818, allocations: 15.86 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.4827, allocations: 242.4 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.483, allocations: 147.7 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.483, allocations: 7.984 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4832, allocations: 55.91 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4833, allocations: 39.84 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.4833, allocations: 8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.4837, allocations: 199.8 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.4838, allocations: 43.83 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.4839, allocations: 35.86 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.4843, allocations: 243.5 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4843, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4843, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4843, allocations: 0 / 1.348 GB, free: 13.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000677/0.485, allocations: 381.5 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4851, allocations: 12.03 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.986e-05/0.4851, allocations: 192 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.4851, allocations: 38.75 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.4852, allocations: 12.89 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.4854, allocations: 154.3 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4854, allocations: 4.375 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4855, allocations: 20.31 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4857, allocations: 83.7 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4857, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4857, allocations: 4 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4857, allocations: 0 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.4858, allocations: 39.97 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.4861, allocations: 189.6 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.4862, allocations: 69.25 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.4863, allocations: 49.81 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4863, allocations: 4 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.4866, allocations: 120.9 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.4866, allocations: 0 / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0004054/0.487, allocations: 181.5 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.4871, allocations: 93.08 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4873, allocations: 155.1 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.4873, allocations: 33.7 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.4874, allocations: 100.5 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.4875, allocations: 35.73 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4876, allocations: 57.62 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4877, allocations: 334.8 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.4878, allocations: 35.98 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.4883, allocations: 0.6002 MB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.4885, allocations: 97.58 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4885, allocations: 0 / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003031/0.4888, allocations: 166 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4888, allocations: 4 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.4888, allocations: 4 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4888, allocations: 0 / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.4889, allocations: 15.94 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4889, allocations: 4 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.4892, allocations: 75.84 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4892, allocations: 7.938 kB / 1.351 GB, free: 9.723 MB / 1.045 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.0001468/0.4894, allocations: 138.4 kB / 1.351 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.4894, allocations: 15.94 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4894, allocations: 8.719 kB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4894, allocations: 4 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4894, allocations: 0 / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4895, allocations: 0 / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.4896, allocations: 164.6 kB / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.4896, allocations: 0 / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.4897, allocations: 11.92 kB / 1.351 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4897, allocations: 0 / 1.351 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4897, allocations: 8 kB / 1.351 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4897, allocations: 4 kB / 1.351 GB, free: 9.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4897, allocations: 4.016 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.49, allocations: 181.8 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.49, allocations: 11.91 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.49, allocations: 0 / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.4901, allocations: 7.984 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.4901, allocations: 8 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.4901, allocations: 3.984 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.216e-05/0.4902, allocations: 110 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4902, allocations: 0 / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003625/0.4906, allocations: 83.8 kB / 1.352 GB, free: 8.898 MB / 1.045 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.0007848/0.4914, allocations: 0.7833 MB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4917, allocations: 155.3 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4917, allocations: 4 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.4917, allocations: 39.92 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4919, allocations: 4 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.494, allocations: 1.705 MB / 1.354 GB, free: 6.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.4941, allocations: 100.9 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.117e-05/0.4942, allocations: 12.94 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4942, allocations: 27.42 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/0.4942, allocations: 0 / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.5262, allocations: 4.358 MB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.06, allocations: 7.781 kB / 1.359 GB, free: 1.746 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.447098902077414] Failed to read output from testmodel.py, exit status != 0: 12.22722325695213 12.257001855 11.767111412 Calling exit ...