Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007626/0.007626, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001873/0.001873, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9366/0.9366, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.91 kB / 0.595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3416, allocations: 82.04 MB / 0.6751 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002032/0.3437, allocations: 1.466 MB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3448, allocations: 0.6959 MB / 0.6772 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.3448, allocations: 0 / 0.6772 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.3449, allocations: 14.27 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.345, allocations: 18.28 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.3458, allocations: 347.3 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3461, allocations: 174 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.3461, allocations: 13.84 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.3462, allocations: 69.39 kB / 0.6779 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.3463, allocations: 52.12 kB / 0.6779 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3463, allocations: 11.94 kB / 0.6779 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.3467, allocations: 245.9 kB / 0.6781 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.3467, allocations: 34.09 kB / 0.6782 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.3468, allocations: 73.95 kB / 0.6783 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.3472, allocations: 312.3 kB / 0.6786 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3472, allocations: 1.219 kB / 0.6786 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3472, allocations: 0 / 0.6786 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3472, allocations: 0 / 0.6786 GB, free: 14.57 MB / 0.5137 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.0005977/0.3478, allocations: 489.1 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3479, allocations: 9.25 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3479, allocations: 33.38 kB / 0.6791 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.348, allocations: 15.28 kB / 0.6791 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3482, allocations: 212.3 kB / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3482, allocations: 9.656 kB / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3483, allocations: 15.73 kB / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3484, allocations: 95.92 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3485, allocations: 3.938 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3485, allocations: 0.8438 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3485, allocations: 1.188 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.3486, allocations: 46.22 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.3488, allocations: 252.1 kB / 0.6797 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.349, allocations: 106.8 kB / 0.6798 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.3491, allocations: 71.97 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3491, allocations: 4.969 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.3494, allocations: 134.9 kB / 0.68 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=21): time 3.045e-06/0.3494, allocations: 5.391 kB / 0.68 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.0004287/0.3498, allocations: 221.4 kB / 0.6802 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.3499, allocations: 128.9 kB / 0.6803 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.35, allocations: 140 kB / 0.6805 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3501, allocations: 39.48 kB / 0.6805 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3501, allocations: 96.84 kB / 0.6806 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.3502, allocations: 56.73 kB / 0.6806 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.3503, allocations: 64.2 kB / 0.6807 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3504, allocations: 326.2 kB / 0.681 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.3505, allocations: 49.97 kB / 0.6811 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3507, allocations: 175.2 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3509, allocations: 140.3 kB / 0.6814 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3509, allocations: 4 kB / 0.6814 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002947/0.3512, allocations: 201.2 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3512, allocations: 11.48 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.3513, allocations: 3.438 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3513, allocations: 2.219 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.3514, allocations: 14 kB / 0.6816 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3514, allocations: 5.125 kB / 0.6816 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3516, allocations: 52.89 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3516, allocations: 9.719 kB / 0.6817 GB, free: 11.82 MB / 0.5137 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.0001209/0.3518, allocations: 142.4 kB / 0.6818 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3518, allocations: 13.31 kB / 0.6818 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.3518, allocations: 22.8 kB / 0.6818 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3519, allocations: 2.156 kB / 0.6818 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3519, allocations: 1.188 kB / 0.6818 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3519, allocations: 1.094 kB / 0.6818 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.352, allocations: 210 kB / 0.682 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.352, allocations: 1.062 kB / 0.682 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.3521, allocations: 8.75 kB / 0.682 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3521, allocations: 5.094 kB / 0.682 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3521, allocations: 6.25 kB / 0.682 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3521, allocations: 1.25 kB / 0.682 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3521, allocations: 1.438 kB / 0.6821 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3524, allocations: 213.1 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.3524, allocations: 88.58 kB / 0.6823 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3525, allocations: 6.25 kB / 0.6823 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.3525, allocations: 15.3 kB / 0.6824 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3526, allocations: 8.641 kB / 0.6824 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3526, allocations: 8.625 kB / 0.6824 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.3527, allocations: 104 kB / 0.6825 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3527, allocations: 5.469 kB / 0.6825 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003462/0.353, allocations: 104.9 kB / 0.6826 GB, free: 11.03 MB / 0.5137 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.000689/0.3537, allocations: 0.8436 MB / 0.6834 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.354, allocations: 219.2 kB / 0.6836 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.354, allocations: 0 / 0.6836 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.3541, allocations: 60.91 kB / 0.6837 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3543, allocations: 20.05 kB / 0.6837 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.356, allocations: 1.818 MB / 0.6855 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3563, allocations: 0.7182 MB / 0.6862 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.3563, allocations: 7.328 kB / 0.6862 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3564, allocations: 37.98 kB / 0.6862 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.3564, allocations: 1.188 kB / 0.6862 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.3782, allocations: 4.661 MB / 0.6908 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.479, allocations: 10.47 kB / 0.6908 GB, free: 5.508 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)