Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.0008283/0.0008283, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005096/0.005096, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5558/0.5561, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001599/0.5578, allocations: 1.203 MB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.5589, allocations: 0.7113 MB / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.559, allocations: 5.125 kB / 0.957 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.559, allocations: 9.297 kB / 0.957 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.5591, allocations: 10.33 kB / 0.9571 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.5599, allocations: 294.2 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.5601, allocations: 146.8 kB / 0.9575 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.5602, allocations: 17.73 kB / 0.9575 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.5602, allocations: 64.52 kB / 0.9576 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.5603, allocations: 49.39 kB / 0.9576 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.5603, allocations: 7 kB / 0.9576 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.5606, allocations: 239.1 kB / 0.9578 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.5607, allocations: 33.48 kB / 0.9579 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.5608, allocations: 88.09 kB / 0.9579 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.561, allocations: 298.4 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5611, allocations: 0 / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5611, allocations: 1.781 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.5611, allocations: 0 / 0.9582 GB, free: 5.453 MB / 0.7169 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.0004274/0.5615, allocations: 444.1 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5615, allocations: 9.625 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.5616, allocations: 41.5 kB / 0.9587 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.5616, allocations: 15.62 kB / 0.9587 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.5618, allocations: 208.7 kB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.5618, allocations: 12.48 kB / 0.9589 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.5618, allocations: 8.625 kB / 0.9589 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.562, allocations: 100.3 kB / 0.959 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.562, allocations: 5.312 kB / 0.959 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.562, allocations: 0 / 0.959 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.562, allocations: 5.375 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.5621, allocations: 50.03 kB / 0.9591 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.5623, allocations: 244.1 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5624, allocations: 111.6 kB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.5625, allocations: 75.7 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.5625, allocations: 1.375 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5627, allocations: 136.8 kB / 0.9596 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.5627, allocations: 0 / 0.9596 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0003309/0.563, allocations: 225.5 kB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.563, allocations: 117.7 kB / 0.96 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.5631, allocations: 141.1 kB / 0.9601 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5632, allocations: 46.45 kB / 0.9601 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.5632, allocations: 97 kB / 0.9602 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.5633, allocations: 55.31 kB / 0.9603 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.5633, allocations: 35.77 kB / 0.9603 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.5634, allocations: 323 kB / 0.9606 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.5634, allocations: 57.72 kB / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5636, allocations: 178.7 kB / 0.9609 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.5638, allocations: 135.8 kB / 0.961 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5638, allocations: 0.75 kB / 0.961 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002647/0.5641, allocations: 205.2 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5641, allocations: 5.125 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.5641, allocations: 4.125 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5641, allocations: 1.125 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.5642, allocations: 18.92 kB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5642, allocations: 1.062 kB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.5644, allocations: 57.53 kB / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5645, allocations: 6.594 kB / 0.9613 GB, free: 2.746 MB / 0.7169 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8.849e-05/0.5646, allocations: 145.5 kB / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.5646, allocations: 12.81 kB / 0.9614 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.5646, allocations: 15.72 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5646, allocations: 2.156 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5646, allocations: 5.312 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5646, allocations: 5.156 kB / 0.9615 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.5648, allocations: 205.8 kB / 0.9616 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5648, allocations: 4.844 kB / 0.9617 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.5648, allocations: 9.062 kB / 0.9617 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5648, allocations: 1.125 kB / 0.9617 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.5648, allocations: 6.016 kB / 0.9617 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5648, allocations: 4.969 kB / 0.9617 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5648, allocations: 1.031 kB / 0.9617 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.5651, allocations: 212.8 kB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.5651, allocations: 89.3 kB / 0.962 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5651, allocations: 11.05 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.5652, allocations: 7.875 kB / 0.962 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.5652, allocations: 12.61 kB / 0.962 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.5653, allocations: 4.594 kB / 0.962 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.5653, allocations: 112.3 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5653, allocations: 0 / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000313/0.5656, allocations: 102.8 kB / 0.9622 GB, free: 1.957 MB / 0.7169 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 (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.0005395/0.5662, allocations: 0.8377 MB / 0.963 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.5664, allocations: 214.9 kB / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5664, allocations: 0 / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.5665, allocations: 65.28 kB / 0.9633 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.5667, allocations: 11.66 kB / 0.9633 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.5682, allocations: 1.843 MB / 0.9651 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5684, allocations: 0.7134 MB / 0.9658 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.5684, allocations: 12.66 kB / 0.9658 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.5685, allocations: 33.86 kB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5685, allocations: 0 / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.5818, allocations: 4.246 MB / 0.97 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.582, allocations: 236.3 kB / 0.9702 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.307, allocations: 5.438 kB / 0.9702 GB, free: 12.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)