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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.973/0.973, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8149/0.8149, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009085/0.0009085, allocations: 70.98 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5336, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00178/0.5354, allocations: 1.509 MB / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.5362, allocations: 0.6804 MB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.5362, allocations: 0 / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.792e-05/0.5363, allocations: 7.031 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.5364, allocations: 17.28 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.5371, allocations: 362 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.5373, allocations: 173.9 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.5373, allocations: 7.234 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.5374, allocations: 74.23 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.5375, allocations: 51.81 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.5375, allocations: 12.34 kB / 0.8207 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.5378, allocations: 297.5 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.5378, allocations: 36.23 kB / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.5379, allocations: 59.5 kB / 0.821 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.5383, allocations: 302.8 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5383, allocations: 1.094 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5383, allocations: 3.938 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.5383, allocations: 0 / 0.8213 GB, free: 15.18 MB / 0.6198 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.0005133/0.5388, allocations: 418.2 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5388, allocations: 9.844 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.5389, allocations: 39.77 kB / 0.8218 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.5389, allocations: 12.05 kB / 0.8218 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.5391, allocations: 161.2 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5391, allocations: 7.875 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5391, allocations: 10.22 kB / 0.822 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5393, allocations: 95.28 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5393, allocations: 5.375 kB / 0.822 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.5393, allocations: 4.75 kB / 0.8221 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5393, allocations: 5.328 kB / 0.8221 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.5393, allocations: 41.7 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.5395, allocations: 217.7 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5396, allocations: 98.59 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.5397, allocations: 72.98 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.5397, allocations: 9.125 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.5399, allocations: 135.1 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 8.22e-07/0.5399, allocations: 1.156 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0002865/0.5402, allocations: 218.2 kB / 0.8228 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.5402, allocations: 117.5 kB / 0.8229 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.5403, allocations: 149 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.5404, allocations: 35.67 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.5404, allocations: 95.17 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.5405, allocations: 61.08 kB / 0.8233 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.5405, allocations: 60.33 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.5406, allocations: 327 kB / 0.8236 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.5407, allocations: 52.41 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.5408, allocations: 184.8 kB / 0.8238 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.541, allocations: 135.4 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.541, allocations: 4 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002193/0.5412, allocations: 197.6 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5412, allocations: 5.719 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.5412, allocations: 4.047 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5412, allocations: 2.094 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.5413, allocations: 19.42 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5413, allocations: 3.734 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5414, allocations: 45.92 kB / 0.8242 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5414, allocations: 5.5 kB / 0.8243 GB, free: 12.87 MB / 0.6198 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 8.962e-05/0.5415, allocations: 155.8 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.5416, allocations: 15.83 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.5416, allocations: 15.66 kB / 0.8244 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5416, allocations: 1.938 kB / 0.8244 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5416, allocations: 1.797 kB / 0.8244 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5416, allocations: 2.141 kB / 0.8244 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.5417, allocations: 182.7 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5417, allocations: 2.156 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.5417, allocations: 18.33 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5417, allocations: 1.469 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.5418, allocations: 2.859 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5418, allocations: 1.438 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5418, allocations: 5.891 kB / 0.8246 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.542, allocations: 203.8 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.542, allocations: 18.27 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.542, allocations: 7.266 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.542, allocations: 7.906 kB / 0.8249 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.5421, allocations: 8.656 kB / 0.8249 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5421, allocations: 16.69 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.5421, allocations: 107.1 kB / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5421, allocations: 0 / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002539/0.5424, allocations: 107.2 kB / 0.8251 GB, free: 12.25 MB / 0.6198 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.0005351/0.5429, allocations: 0.8373 MB / 0.8259 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.5432, allocations: 216.4 kB / 0.8261 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5432, allocations: 0 / 0.8261 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.5432, allocations: 54.78 kB / 0.8262 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.5433, allocations: 13.91 kB / 0.8262 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.5449, allocations: 1.823 MB / 0.828 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.5451, allocations: 0.7145 MB / 0.8287 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.22e-05/0.5451, allocations: 11.89 kB / 0.8287 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.5452, allocations: 32.14 kB / 0.8287 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.5452, allocations: 1.438 kB / 0.8287 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5658, allocations: 4.807 MB / 0.8334 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.166, allocations: 14.27 kB / 0.8334 GB, free: 8.566 MB / 0.6198 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.305507497861981] Failed to read output from testmodel.py, exit status != 0: 7.248596821911633 7.261642633 6.721283343 Calling exit ...