Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.432/1.432, allocations: 287.4 MB / 302.5 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009107/0.0009108, allocations: 184.5 kB / 371.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006732/0.0006732, allocations: 96.78 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003544, allocations: 19.06 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001043/0.1419, allocations: 1.202 MB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.1426, allocations: 0.6274 MB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.1426, allocations: 0 / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.1427, allocations: 11.92 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.1428, allocations: 11.91 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.1434, allocations: 285.2 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1436, allocations: 147.6 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.1436, allocations: 4 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.1437, allocations: 67.81 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1437, allocations: 47.77 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.1438, allocations: 8 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.144, allocations: 223.8 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.1441, allocations: 39.89 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1441, allocations: 49.62 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1443, allocations: 215.8 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1443, allocations: 0 / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1443, allocations: 0 / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.1444, allocations: 0 / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003902/0.1447, allocations: 449.2 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.1448, allocations: 12.03 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1448, allocations: 38.75 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1449, allocations: 16.73 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.145, allocations: 208.1 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.145, allocations: 12.31 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.145, allocations: 12.38 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1452, allocations: 94.36 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1452, allocations: 3.938 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1452, allocations: 4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1452, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.1453, allocations: 47.91 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1455, allocations: 247.3 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.1456, allocations: 111.8 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.1456, allocations: 70.7 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1457, allocations: 8 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1458, allocations: 137.8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.1458, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0002863/0.1461, allocations: 213.3 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1462, allocations: 118.7 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.1462, allocations: 140.3 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1463, allocations: 33.7 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.1463, allocations: 100.7 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1463, allocations: 59.25 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.1463, allocations: 4 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.1464, allocations: 326.8 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1465, allocations: 52.25 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1466, allocations: 180.4 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1467, allocations: 134.4 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1467, allocations: 0 / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002158/0.147, allocations: 205.3 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.147, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.147, allocations: 4 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.147, allocations: 4 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.1471, allocations: 15.92 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1471, allocations: 4.938 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1473, allocations: 55.8 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1473, allocations: 4 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/0.1474, allocations: 144.2 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1474, allocations: 15.83 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.1474, allocations: 16.72 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1475, allocations: 8 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1475, allocations: 0 / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1475, allocations: 0 / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.917e-05/0.1476, allocations: 213.4 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1476, allocations: 0 / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.1476, allocations: 12 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1476, allocations: 0 / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1476, allocations: 7.984 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1477, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1477, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1478, allocations: 215.3 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.1479, allocations: 92.95 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1479, allocations: 7.984 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.148, allocations: 7.938 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.148, allocations: 11.98 kB / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.148, allocations: 8 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.148, allocations: 107.2 kB / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1481, allocations: 0 / 0.9854 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002607/0.1483, allocations: 104 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004345/0.1488, allocations: 0.8448 MB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.149, allocations: 217 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.149, allocations: 0 / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.1491, allocations: 55.91 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1492, allocations: 14.94 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.15, allocations: 0.8601 MB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.042e-05/0.1501, allocations: 0.7087 MB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.1502, allocations: 17.09 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1502, allocations: 31.42 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1502, allocations: 0 / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.497/0.6472, allocations: 4.265 MB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.6474, allocations: 208.7 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.275, allocations: 0 / 0.9925 GB, free: 13.5 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)