Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_10_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.001635/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001725/0.001725, allocations: 195 kB / 16.26 MB, free: 6.621 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.262/2.262, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4668, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002264/0.4691, allocations: 1.542 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.47, allocations: 0.7008 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.47, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.614e-05/0.4701, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.4702, allocations: 11.92 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.4709, allocations: 315.1 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.4711, allocations: 175.6 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.4712, allocations: 7.984 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.4713, allocations: 67.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.4713, allocations: 47.81 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.4714, allocations: 12 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.4717, allocations: 259.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.4717, allocations: 39.91 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.4718, allocations: 63.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.4721, allocations: 297.6 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4721, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4721, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4721, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 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.0004971/0.4726, allocations: 478.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.4727, allocations: 8.031 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.4727, allocations: 38.75 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.4728, allocations: 12.75 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.4729, allocations: 212.1 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4729, allocations: 8.375 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.473, allocations: 20.34 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4731, allocations: 98.67 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4731, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4732, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4732, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.4733, allocations: 43.91 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.4735, allocations: 255.3 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4736, allocations: 107.9 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.4737, allocations: 78.66 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.4737, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.4739, allocations: 141.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.4739, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003388/0.4743, allocations: 217.4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4743, allocations: 122.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.4744, allocations: 137.8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.4745, allocations: 33.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.4745, allocations: 100.7 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.4746, allocations: 63.19 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.4747, allocations: 57.69 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.4748, allocations: 326.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.4748, allocations: 60.11 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.475, allocations: 168.5 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4752, allocations: 142.4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4752, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002571/0.4755, allocations: 205.3 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.4755, allocations: 5.25 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4755, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.4755, allocations: 7.938 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.4756, allocations: 11.94 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4756, allocations: 4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4758, allocations: 47.78 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4758, allocations: 16 kB / 1.023 GB, free: 11.61 MB / 0.7794 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 0.0001011/0.4759, allocations: 140.1 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.476, allocations: 11.91 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.476, allocations: 16.7 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.476, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.476, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.476, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.4762, allocations: 209.4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4762, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.4762, allocations: 16 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4762, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4763, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4763, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4763, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.4765, allocations: 226.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.4766, allocations: 92.95 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4766, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.4766, allocations: 15.92 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4767, allocations: 7.984 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.4767, allocations: 4 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.4768, allocations: 104.7 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4768, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002999/0.4771, allocations: 107.9 kB / 1.024 GB, free: 10.57 MB / 0.7794 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.00063/0.4777, allocations: 0.8545 MB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.478, allocations: 228.9 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.478, allocations: 0 / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.4781, allocations: 51.98 kB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.4782, allocations: 23.86 kB / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4798, allocations: 1.815 MB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.48, allocations: 0.7123 MB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.4801, allocations: 12.81 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.4801, allocations: 31.44 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of SimCode: time 1.293e-06/0.4801, allocations: 4 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6007/1.081, allocations: 4.439 MB / 1.032 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.081, allocations: 227.2 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.789, allocations: 0 / 1.033 GB, free: 2.168 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)