Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001457/0.001457, allocations: 107.4 kB / 16.46 MB, free: 6.453 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.001567/0.001567, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.316/1.316, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002353/0.002353, allocations: 288 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 180.9 MB / 0.5333 GB, free: 13.71 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002677/0.002677, allocations: 104.9 kB / 0.7342 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1465, allocations: 95.34 MB / 0.8273 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002366/0.1489, allocations: 1.428 MB / 0.8287 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.1498, allocations: 0.5159 MB / 0.8292 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.1498, allocations: 0 / 0.8292 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.106e-05/0.1499, allocations: 3.938 kB / 0.8292 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.1499, allocations: 7.938 kB / 0.8292 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.1506, allocations: 234.2 kB / 0.8295 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1508, allocations: 147.7 kB / 0.8296 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1508, allocations: 15.98 kB / 0.8296 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.1509, allocations: 51.91 kB / 0.8297 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/0.151, allocations: 51.75 kB / 0.8297 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.151, allocations: 8 kB / 0.8297 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.1513, allocations: 167.8 kB / 0.8299 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1513, allocations: 35.91 kB / 0.8299 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.1514, allocations: 51.77 kB / 0.83 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1517, allocations: 239.5 kB / 0.8302 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1517, allocations: 0 / 0.8302 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1517, allocations: 0 / 0.8302 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1517, allocations: 7.938 kB / 0.8302 GB, free: 6.914 MB / 0.5762 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.000558/0.1523, allocations: 446.7 kB / 0.8306 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1523, allocations: 8.031 kB / 0.8306 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1523, allocations: 38.75 kB / 0.8307 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1524, allocations: 8.891 kB / 0.8307 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1526, allocations: 212.1 kB / 0.8309 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1526, allocations: 8.375 kB / 0.8309 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1526, allocations: 8.375 kB / 0.8309 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1528, allocations: 87.89 kB / 0.831 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1528, allocations: 3.938 kB / 0.831 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1528, allocations: 0 / 0.831 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1528, allocations: 0 / 0.831 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.1529, allocations: 43.91 kB / 0.831 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.1531, allocations: 230.5 kB / 0.8312 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1532, allocations: 81.23 kB / 0.8313 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.1533, allocations: 45.81 kB / 0.8314 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1533, allocations: 3.938 kB / 0.8314 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1535, allocations: 113 kB / 0.8315 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1535, allocations: 4 kB / 0.8315 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003302/0.1538, allocations: 185.5 kB / 0.8317 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.1539, allocations: 85.09 kB / 0.8317 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.154, allocations: 161.2 kB / 0.8319 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1541, allocations: 33.7 kB / 0.8319 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1541, allocations: 100.5 kB / 0.832 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1542, allocations: 39.72 kB / 0.8321 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.1543, allocations: 53.64 kB / 0.8321 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1544, allocations: 330.8 kB / 0.8324 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.1545, allocations: 39.98 kB / 0.8325 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.1547, allocations: 202.3 kB / 0.8327 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1548, allocations: 97.58 kB / 0.8327 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1548, allocations: 0 / 0.8327 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002319/0.155, allocations: 161.5 kB / 0.8329 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1551, allocations: 8 kB / 0.8329 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.1551, allocations: 7.984 kB / 0.8329 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1551, allocations: 4 kB / 0.8329 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1552, allocations: 11.88 kB / 0.8329 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1552, allocations: 4 kB / 0.8329 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1554, allocations: 71.86 kB / 0.833 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1554, allocations: 4 kB / 0.833 GB, free: 3.703 MB / 0.5762 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.0001174/0.1556, allocations: 141.9 kB / 0.8331 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1556, allocations: 23.83 kB / 0.8332 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.1556, allocations: 8.719 kB / 0.8332 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1556, allocations: 4 kB / 0.8332 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1556, allocations: 3.984 kB / 0.8332 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1556, allocations: 0 / 0.8332 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1558, allocations: 189.6 kB / 0.8334 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1558, allocations: 4 kB / 0.8334 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.1558, allocations: 11.92 kB / 0.8334 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1558, allocations: 4 kB / 0.8334 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1558, allocations: 4 kB / 0.8334 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1558, allocations: 3.938 kB / 0.8334 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1558, allocations: 0 / 0.8334 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1561, allocations: 185.7 kB / 0.8336 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1561, allocations: 89.06 kB / 0.8336 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1561, allocations: 0 / 0.8336 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.1562, allocations: 11.98 kB / 0.8337 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1562, allocations: 0 / 0.8337 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1562, allocations: 8 kB / 0.8337 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.1563, allocations: 111.2 kB / 0.8338 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1563, allocations: 0 / 0.8338 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002985/0.1566, allocations: 79.73 kB / 0.8338 GB, free: 2.738 MB / 0.5762 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.0006717/0.1573, allocations: 0.7848 MB / 0.8346 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1575, allocations: 163.3 kB / 0.8348 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1575, allocations: 0 / 0.8348 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1576, allocations: 39.92 kB / 0.8348 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.1577, allocations: 9.875 kB / 0.8348 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1595, allocations: 1.705 MB / 0.8365 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1598, allocations: 0.7086 MB / 0.8372 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.1598, allocations: 4.672 kB / 0.8372 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.1598, allocations: 27.42 kB / 0.8372 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.1598, allocations: 0 / 0.8372 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1855, allocations: 4.012 MB / 0.8411 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.538, allocations: 9.453 kB / 0.8411 GB, free: 11.27 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.23530319519341] Failed to read output from testmodel.py, exit status != 0: 7.603811694309115 7.626220427 7.470449806 Calling exit ...