Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_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.01013/0.01013, allocations: 102.9 kB / 15.78 MB, free: 5.977 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.00221/0.00221, allocations: 191.1 kB / 16.72 MB, free: 5.852 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.437/1.437, allocations: 225.6 MB / 243.1 MB, free: 3.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8666/0.8666, allocations: 137 MB / 432.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.89 kB / 0.6011 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.44, allocations: 85.43 MB / 0.6845 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002777/0.4427, allocations: 1.476 MB / 0.6859 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.444, allocations: 0.6999 MB / 0.6866 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.444, allocations: 1.156 kB / 0.6866 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.835e-05/0.4441, allocations: 17.05 kB / 0.6866 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.4442, allocations: 14.23 kB / 0.6866 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.4452, allocations: 346 kB / 0.687 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.4454, allocations: 170.5 kB / 0.6871 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.4455, allocations: 8.109 kB / 0.6871 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.4455, allocations: 70.2 kB / 0.6872 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.4456, allocations: 48.31 kB / 0.6873 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.4457, allocations: 16.38 kB / 0.6873 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.4461, allocations: 259.4 kB / 0.6875 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.4462, allocations: 34.78 kB / 0.6876 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.4462, allocations: 63.11 kB / 0.6876 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.4467, allocations: 299.4 kB / 0.6879 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4467, allocations: 1.281 kB / 0.6879 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4467, allocations: 0 / 0.6879 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4467, allocations: 0 / 0.6879 GB, free: 11.73 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.0006964/0.4474, allocations: 492.6 kB / 0.6884 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4474, allocations: 11.7 kB / 0.6884 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.4475, allocations: 36.41 kB / 0.6884 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4475, allocations: 16.59 kB / 0.6884 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.4478, allocations: 205.8 kB / 0.6886 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4478, allocations: 13.91 kB / 0.6886 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.4478, allocations: 15.39 kB / 0.6887 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.448, allocations: 95.42 kB / 0.6887 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.448, allocations: 7.938 kB / 0.6888 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4481, allocations: 1.156 kB / 0.6888 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4481, allocations: 1.594 kB / 0.6888 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.4482, allocations: 54.47 kB / 0.6888 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.4485, allocations: 243.2 kB / 0.689 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4486, allocations: 113.4 kB / 0.6892 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4487, allocations: 63.41 kB / 0.6892 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4487, allocations: 1.375 kB / 0.6892 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.449, allocations: 140.6 kB / 0.6893 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.449, allocations: 0 / 0.6893 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.0004349/0.4495, allocations: 213 kB / 0.6896 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.4496, allocations: 122.5 kB / 0.6897 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4497, allocations: 140.3 kB / 0.6898 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4497, allocations: 39.2 kB / 0.6898 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.4498, allocations: 97.88 kB / 0.6899 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.4499, allocations: 59.58 kB / 0.69 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.45, allocations: 68.59 kB / 0.6901 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4502, allocations: 322.1 kB / 0.6904 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.4503, allocations: 53.25 kB / 0.6904 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.4505, allocations: 174.8 kB / 0.6906 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4507, allocations: 137.1 kB / 0.6907 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4507, allocations: 0 / 0.6907 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003483/0.451, allocations: 197.2 kB / 0.6909 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4511, allocations: 9.547 kB / 0.6909 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.4511, allocations: 3.5 kB / 0.6909 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4511, allocations: 2.812 kB / 0.6909 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4512, allocations: 17.69 kB / 0.6909 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4512, allocations: 1.438 kB / 0.6909 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.4515, allocations: 58.41 kB / 0.691 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.4515, allocations: 5.594 kB / 0.691 GB, free: 8.996 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.0001467/0.4516, allocations: 138.5 kB / 0.6911 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.4517, allocations: 9.422 kB / 0.6911 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.4517, allocations: 19.14 kB / 0.6912 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4517, allocations: 2.031 kB / 0.6912 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4517, allocations: 9.484 kB / 0.6912 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4517, allocations: 4.922 kB / 0.6912 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.452, allocations: 212.9 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.452, allocations: 1.469 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.452, allocations: 7.875 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.452, allocations: 2.625 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.452, allocations: 1.406 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.452, allocations: 1.531 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.452, allocations: 1.25 kB / 0.6914 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.4523, allocations: 220.4 kB / 0.6916 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.4524, allocations: 89.38 kB / 0.6917 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4525, allocations: 6.781 kB / 0.6917 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.4525, allocations: 10.83 kB / 0.6917 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.4526, allocations: 12.42 kB / 0.6917 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4526, allocations: 4.156 kB / 0.6917 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.4527, allocations: 107.2 kB / 0.6918 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4527, allocations: 0 / 0.6918 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004125/0.4531, allocations: 107.1 kB / 0.6919 GB, free: 8.203 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.0009075/0.454, allocations: 0.8409 MB / 0.6927 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.4544, allocations: 210.7 kB / 0.6929 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4544, allocations: 1 kB / 0.6929 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.4545, allocations: 48.75 kB / 0.693 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.4546, allocations: 19.42 kB / 0.693 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.4568, allocations: 1.831 MB / 0.6948 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4572, allocations: 0.7094 MB / 0.6955 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.058e-05/0.4572, allocations: 12.25 kB / 0.6955 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.4573, allocations: 34.52 kB / 0.6955 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.4573, allocations: 0 / 0.6955 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.4865, allocations: 4.636 MB / 0.7001 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.68, allocations: 12.27 kB / 0.7001 GB, free: 1.672 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)