Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004834/0.004834, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.0013/0.0013, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.45/1.45, 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-master/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-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 433.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 55.91 kB / 0.5953 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3659, allocations: 82.02 MB / 0.6754 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002312/0.3682, allocations: 1.481 MB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3695, allocations: 0.6999 MB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.3695, allocations: 1.688 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.821e-05/0.3696, allocations: 11.86 kB / 0.6775 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.3697, allocations: 19.03 kB / 0.6775 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3707, allocations: 342.8 kB / 0.6779 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.371, allocations: 166.3 kB / 0.678 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.3711, allocations: 13.61 kB / 0.678 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.3712, allocations: 73.09 kB / 0.6781 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.3713, allocations: 52.48 kB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.3713, allocations: 12.5 kB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.3717, allocations: 246.1 kB / 0.6784 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.3718, allocations: 38.3 kB / 0.6784 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.3719, allocations: 65.38 kB / 0.6785 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.3723, allocations: 304.6 kB / 0.6788 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3723, allocations: 4 kB / 0.6788 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3723, allocations: 0 / 0.6788 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3724, allocations: 0 / 0.6788 GB, free: 14.41 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.0006773/0.373, allocations: 489.9 kB / 0.6793 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3731, allocations: 9.656 kB / 0.6793 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.3731, allocations: 37.06 kB / 0.6793 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.3732, allocations: 15.69 kB / 0.6793 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3734, allocations: 208.8 kB / 0.6795 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3735, allocations: 12.88 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3735, allocations: 17.7 kB / 0.6796 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3737, allocations: 94.23 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3737, allocations: 3.938 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3737, allocations: 1.469 kB / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3738, allocations: 1.438 kB / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3739, allocations: 49.66 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3742, allocations: 244.2 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3743, allocations: 111 kB / 0.68 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3745, allocations: 71.72 kB / 0.6801 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3745, allocations: 9.25 kB / 0.6801 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.3747, allocations: 138.8 kB / 0.6802 GB, free: 13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.3747, allocations: 0 / 0.6802 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.0004448/0.3752, allocations: 221.3 kB / 0.6805 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.3753, allocations: 122.5 kB / 0.6806 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3754, allocations: 143 kB / 0.6807 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3755, allocations: 35.17 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.3755, allocations: 101.9 kB / 0.6808 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.3756, allocations: 55.25 kB / 0.6809 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.3757, allocations: 64.77 kB / 0.681 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3759, allocations: 326.4 kB / 0.6813 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.376, allocations: 53.53 kB / 0.6813 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.3762, allocations: 178 kB / 0.6815 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3764, allocations: 136.4 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3764, allocations: 1.25 kB / 0.6816 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003093/0.3767, allocations: 208.1 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3768, allocations: 5.406 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.3768, allocations: 8.406 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3768, allocations: 2.188 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.3769, allocations: 13.81 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3769, allocations: 2.125 kB / 0.6818 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.3772, allocations: 53.48 kB / 0.6819 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3772, allocations: 5.594 kB / 0.6819 GB, free: 11.66 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.0001329/0.3773, allocations: 142.2 kB / 0.682 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3774, allocations: 13.53 kB / 0.6821 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3774, allocations: 15.89 kB / 0.6821 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3774, allocations: 6.062 kB / 0.6821 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3774, allocations: 1.031 kB / 0.6821 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.3774, allocations: 0 / 0.6821 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3777, allocations: 218.2 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3777, allocations: 1.062 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3777, allocations: 8.625 kB / 0.6823 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3778, allocations: 5.062 kB / 0.6823 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3778, allocations: 2.312 kB / 0.6823 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3778, allocations: 1.312 kB / 0.6823 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3778, allocations: 1.156 kB / 0.6823 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3781, allocations: 216.3 kB / 0.6825 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3782, allocations: 89.58 kB / 0.6826 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3782, allocations: 9.312 kB / 0.6826 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.3783, allocations: 12.14 kB / 0.6826 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.3783, allocations: 11.92 kB / 0.6826 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3783, allocations: 4.812 kB / 0.6826 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.555e-05/0.3784, allocations: 108 kB / 0.6827 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.993e-06/0.3784, allocations: 1.125 kB / 0.6827 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003619/0.3788, allocations: 110 kB / 0.6828 GB, free: 10.87 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.0007787/0.3796, allocations: 0.838 MB / 0.6837 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.3799, allocations: 228.5 kB / 0.6839 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3799, allocations: 0 / 0.6839 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.38, allocations: 52.92 kB / 0.6839 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3802, allocations: 20.05 kB / 0.6839 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3822, allocations: 1.826 MB / 0.6857 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3825, allocations: 0.7129 MB / 0.6864 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.3826, allocations: 7.734 kB / 0.6864 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.3826, allocations: 38.83 kB / 0.6865 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of SimCode: time 4.5e-07/0.3826, allocations: 0 / 0.6865 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.4101, allocations: 4.673 MB / 0.691 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.482, allocations: 8.594 kB / 0.691 GB, free: 5.348 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)