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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.91 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4646, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00228/0.467, allocations: 1.542 MB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.468, allocations: 0.7282 MB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.468, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.4681, allocations: 3.984 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.4682, allocations: 19.86 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.4688, allocations: 287 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.469, allocations: 155.6 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.4691, allocations: 15.97 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.4691, allocations: 59.78 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.4692, allocations: 47.81 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4692, allocations: 12 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.4695, allocations: 239.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.4696, allocations: 27.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.4697, allocations: 63.69 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.47, allocations: 301.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.47, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.51e-07/0.47, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.47, allocations: 4 kB / 1.02 GB, free: 15.39 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.0005097/0.4706, allocations: 471 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.4706, allocations: 8.031 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.4706, allocations: 42.73 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.4707, allocations: 16.75 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4709, allocations: 210.2 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4709, allocations: 4.375 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.4709, allocations: 16.31 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4711, allocations: 104.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4711, allocations: 7.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4711, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4711, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.4712, allocations: 47.97 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.4714, allocations: 251.3 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.4716, allocations: 111.9 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.4716, allocations: 70.61 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.4717, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.4719, allocations: 144.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.113e-06/0.4719, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0003764/0.4722, allocations: 217.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4723, allocations: 106.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.4724, allocations: 147.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.4724, allocations: 37.7 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.4725, allocations: 92.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.4726, allocations: 67.17 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.4726, allocations: 61.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.4727, allocations: 330.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.4728, allocations: 52.12 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.473, allocations: 186.5 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4732, allocations: 126.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4732, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002733/0.4735, allocations: 197.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.4735, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.4735, allocations: 7.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.4736, allocations: 11.92 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.4736, allocations: 12 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4737, allocations: 8 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.4739, allocations: 43.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4739, allocations: 8 kB / 1.023 GB, free: 11.89 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.0001006/0.474, allocations: 144 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.474, allocations: 11.91 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.4741, allocations: 12.72 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4741, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4741, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4741, allocations: 3.984 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4742, allocations: 209.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4742, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.4743, allocations: 11.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4743, allocations: 3.938 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4743, allocations: 8 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4743, allocations: 3.938 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4743, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.4746, allocations: 219.4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.4746, allocations: 88.95 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.4746, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.4747, allocations: 11.94 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.4747, allocations: 7.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4748, allocations: 7.984 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.4748, allocations: 108.7 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.323e-06/0.4748, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003004/0.4751, allocations: 103.9 kB / 1.024 GB, free: 10.84 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.0006206/0.4758, allocations: 0.8561 MB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.476, allocations: 220.9 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4761, allocations: 0 / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.4761, allocations: 56.11 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.4763, allocations: 14.47 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4779, allocations: 1.826 MB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.4781, allocations: 0.7123 MB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.4781, allocations: 12.88 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.4782, allocations: 31.42 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4782, allocations: 0 / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2891/0.7673, allocations: 4.329 MB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.7675, allocations: 223 kB / 1.032 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.395, allocations: 7.375 kB / 1.032 GB, free: 2.527 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)