Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 65.44 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2309, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002345/0.2333, allocations: 1.425 MB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008084/0.2341, allocations: 0.4884 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.2342, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.216e-05/0.2342, allocations: 15.86 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.2343, allocations: 3.938 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.2349, allocations: 230.1 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.2351, allocations: 147.7 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.2351, allocations: 7.984 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.2352, allocations: 55.91 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.2353, allocations: 39.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.2353, allocations: 12 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.2356, allocations: 167.8 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.2356, allocations: 35.91 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.2357, allocations: 51.78 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.236, allocations: 235.7 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.236, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.818e-06/0.236, allocations: 3.984 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.236, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 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.0005018/0.2365, allocations: 447 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2366, allocations: 12.03 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.2366, allocations: 34.75 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.2366, allocations: 12.84 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2368, allocations: 212.1 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2369, allocations: 8.375 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2369, allocations: 16.38 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.237, allocations: 91.81 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2371, allocations: 3.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2371, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2371, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.2372, allocations: 39.97 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.2374, allocations: 226.5 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2375, allocations: 85.17 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.2376, allocations: 57.81 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2376, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.2378, allocations: 122 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.011e-06/0.2378, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003031/0.2381, allocations: 189.8 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.2382, allocations: 89.09 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2383, allocations: 144.1 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2383, allocations: 37.69 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.2384, allocations: 100.5 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.2384, allocations: 39.55 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.2385, allocations: 49.7 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2386, allocations: 322.8 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.2387, allocations: 43.97 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2389, allocations: 208.5 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.239, allocations: 97.62 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.239, allocations: 0 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002132/0.2393, allocations: 157.4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2393, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2393, allocations: 4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2393, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.2394, allocations: 15.98 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2394, allocations: 4.094 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.2397, allocations: 79.75 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2397, allocations: 7.984 kB / 1.07 GB, free: 8.109 MB / 0.8262 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.0001074/0.2398, allocations: 137.7 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.2398, allocations: 11.84 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.2398, allocations: 16.72 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2398, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2399, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2399, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.24, allocations: 201.5 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.24, allocations: 96 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.2401, allocations: 8 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2401, allocations: 3.984 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2401, allocations: 7.984 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2401, allocations: 0 / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2401, allocations: 0 / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2403, allocations: 185.7 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.2404, allocations: 88.95 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2404, allocations: 4 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.2404, allocations: 0 / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.2405, allocations: 11.98 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2405, allocations: 4 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.2406, allocations: 113.1 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2406, allocations: 3.938 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.2409, allocations: 71.98 kB / 1.071 GB, free: 7.156 MB / 0.8262 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.000629/0.2415, allocations: 0.7931 MB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.2417, allocations: 167.3 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2417, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.2418, allocations: 47.92 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.242, allocations: 9.719 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2435, allocations: 1.697 MB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2438, allocations: 0.7041 MB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.2438, allocations: 4.672 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2439, allocations: 31.42 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2439, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.227/6.471, allocations: 3.929 MB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/17.93, allocations: 12.17 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)