Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.4 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 82.53 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.746e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7355/0.9397, allocations: 132.5 MB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.94, allocations: 82 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.9543, allocations: 4.596 MB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9543, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.9543, allocations: 8 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00117/0.9555, allocations: 0.6219 MB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9555, allocations: 8.031 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.9557, allocations: 39.81 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.9564, allocations: 323.5 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.9564, allocations: 11.98 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.9565, allocations: 39.67 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002336/0.9568, allocations: 98.02 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.9572, allocations: 307.7 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.9572, allocations: 11.98 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.9573, allocations: 7.609 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9573, allocations: 4 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.9578, allocations: 455.8 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.9582, allocations: 285.1 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.9584, allocations: 143 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.9584, allocations: 8 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004612/0.9589, allocations: 341.6 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.968e-06/0.9589, allocations: 0 / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0008891/0.9598, allocations: 0.49 MB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.96, allocations: 199.7 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.9601, allocations: 136.7 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.9602, allocations: 45.2 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.9603, allocations: 109.8 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.9604, allocations: 84.22 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.9605, allocations: 12 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.9607, allocations: 333.2 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.961, allocations: 183.9 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.9614, allocations: 252.6 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.9619, allocations: 192.2 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9619, allocations: 0 / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001286/0.9632, allocations: 0.7815 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.9633, allocations: 120.6 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9633, allocations: 96 / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9634, allocations: 8 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.9635, allocations: 27.17 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.9636, allocations: 4 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.9641, allocations: 119.6 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.9642, allocations: 37.92 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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 0.0001913/0.9644, allocations: 146 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000673/0.965, allocations: 492.2 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.9651, allocations: 27.75 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.9652, allocations: 26.89 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9652, allocations: 4 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9652, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9652, allocations: 3.984 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.9655, allocations: 281.1 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9655, allocations: 0 / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/0.9656, allocations: 19.98 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.9656, allocations: 4 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.9656, allocations: 14.84 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9656, allocations: 4 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.9656, allocations: 7.938 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.9664, allocations: 0.5869 MB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.9664, allocations: 92.92 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.9665, allocations: 31.42 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.9667, allocations: 23.97 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.9668, allocations: 38.7 kB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.9669, allocations: 38.47 kB / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.967, allocations: 103.7 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.967, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004312/0.9674, allocations: 119.5 kB / 1.027 GB, free: 9.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.001269/0.9687, allocations: 1.546 MB / 1.028 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009747/0.9697, allocations: 0.8914 MB / 1.029 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9697, allocations: 0 / 1.029 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.9699, allocations: 192.3 kB / 1.029 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.9701, allocations: 16.23 kB / 1.029 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.971, allocations: 415.2 kB / 1.03 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.9713, allocations: 0.7292 MB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.9713, allocations: 22.02 kB / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.9714, allocations: 50.84 kB / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9714, allocations: 0 / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.9975, allocations: 5.897 MB / 1.036 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.9978, allocations: 176.4 kB / 1.037 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.673, allocations: 0 / 1.037 GB, free: 0.582 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)