Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001441/0.001441, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.543/2.543, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.89 kB / 0.8694 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5711, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003748/0.5749, allocations: 1.476 MB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.5766, allocations: 0.6929 MB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.5767, allocations: 0 / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.411e-05/0.5768, allocations: 11.86 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.5769, allocations: 15.86 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5784, allocations: 339.7 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.5788, allocations: 171.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.5789, allocations: 15.95 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.579, allocations: 71.75 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.5792, allocations: 51.81 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.5792, allocations: 12 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.5799, allocations: 247.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.58, allocations: 39.88 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5801, allocations: 63.67 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.5808, allocations: 305.6 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5808, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5808, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.5808, allocations: 0 / 1.021 GB, free: 15.04 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.0008994/0.5817, allocations: 474.9 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5818, allocations: 12.03 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.5819, allocations: 38.73 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.582, allocations: 16.75 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.5823, allocations: 204.2 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.5824, allocations: 12.38 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.5824, allocations: 12.31 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.5827, allocations: 98.36 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5828, allocations: 7.875 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.5828, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5828, allocations: 7.984 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.583, allocations: 43.92 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.5834, allocations: 251.3 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.5837, allocations: 107.9 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.584, allocations: 70.67 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.584, allocations: 11.94 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.5844, allocations: 138.5 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/0.5844, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0007399/0.5852, allocations: 217.4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5853, allocations: 122.7 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.5855, allocations: 142.8 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.5856, allocations: 33.7 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5857, allocations: 96.7 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5859, allocations: 59.19 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.586, allocations: 61.69 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5862, allocations: 326.8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.5864, allocations: 52.12 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.5868, allocations: 186.5 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.5872, allocations: 130.5 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5872, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005961/0.5879, allocations: 205.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5879, allocations: 7.938 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/0.5879, allocations: 11.98 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.588, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5881, allocations: 15.94 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5881, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.5885, allocations: 51.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.5886, allocations: 4 kB / 1.024 GB, free: 11.52 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.0001789/0.5888, allocations: 148 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.5888, allocations: 7.906 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.5889, allocations: 12.72 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5889, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5889, allocations: 11.92 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.589, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.5892, allocations: 209.5 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5893, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.5893, allocations: 11.98 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5894, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.5894, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5894, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5894, allocations: 3.938 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.5899, allocations: 215 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.59, allocations: 92.95 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5901, allocations: 4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5902, allocations: 11.94 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.5903, allocations: 11.98 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.5903, allocations: 7.984 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001102/0.5904, allocations: 104.8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5905, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006555/0.5911, allocations: 103.9 kB / 1.025 GB, free: 10.47 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.001248/0.5924, allocations: 0.8481 MB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005671/0.593, allocations: 225.3 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.593, allocations: 0 / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.5932, allocations: 55.91 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.5935, allocations: 15.86 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.5967, allocations: 1.803 MB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.597, allocations: 0.7047 MB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.919e-05/0.5971, allocations: 12.88 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.5972, allocations: 35.36 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.5972, allocations: 0 / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.6318, allocations: 4.567 MB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.495, allocations: 7.953 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)