Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.0008216/0.0008216, 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.000967/0.000967, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9727/0.9727, allocations: 230.6 MB / 256 MB, free: 9.809 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.8425/0.8425, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.000915/0.000915, allocations: 69.67 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5337, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002218/0.5359, allocations: 1.507 MB / 0.8193 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.5367, allocations: 0.6815 MB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.5367, allocations: 0 / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.367e-05/0.5368, allocations: 11.53 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.5369, allocations: 12.5 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.5377, allocations: 365.8 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.5379, allocations: 175.6 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.538, allocations: 10.5 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.5381, allocations: 70.89 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.5382, allocations: 55.84 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.5382, allocations: 12 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.5386, allocations: 291.6 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.5387, allocations: 34.61 kB / 0.821 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.5388, allocations: 64 kB / 0.821 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.5392, allocations: 297.9 kB / 0.8213 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5392, allocations: 0 / 0.8213 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5392, allocations: 5.422 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5392, 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.0005685/0.5398, allocations: 418 kB / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5398, allocations: 8.812 kB / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.5399, allocations: 38.05 kB / 0.8218 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.5399, allocations: 12.75 kB / 0.8218 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5401, allocations: 156.2 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5401, allocations: 8.219 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5401, allocations: 14 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.5403, allocations: 98.03 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5403, allocations: 3.938 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5403, allocations: 1.531 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5403, allocations: 1.594 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.5405, allocations: 48.72 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.5407, allocations: 217.9 kB / 0.8223 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5408, allocations: 105.8 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.5409, allocations: 63.36 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.5409, allocations: 1.344 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.5411, allocations: 144.2 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.5411, allocations: 1.094 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003287/0.5414, allocations: 213.7 kB / 0.8228 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.5415, allocations: 119.7 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.5416, allocations: 152.1 kB / 0.8231 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5416, allocations: 38.92 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.5417, allocations: 96.11 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.5417, allocations: 62.62 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.5418, allocations: 60.31 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.5418, allocations: 329.2 kB / 0.8236 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.5419, allocations: 46.34 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5421, allocations: 181 kB / 0.8238 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.5422, allocations: 132.7 kB / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5422, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002081/0.5424, allocations: 205.2 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5424, allocations: 8.406 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5424, allocations: 5.719 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5425, allocations: 1.531 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.5425, allocations: 16.61 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5425, allocations: 2.375 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5427, allocations: 45.69 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5427, allocations: 13.88 kB / 0.8242 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 9.017e-05/0.5428, allocations: 145.5 kB / 0.8244 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.5428, allocations: 17.39 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.5428, allocations: 16.75 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5428, allocations: 2.5 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5428, allocations: 1.062 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5428, allocations: 2.562 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.543, allocations: 183 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.543, allocations: 1.297 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.543, allocations: 10.03 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.543, allocations: 8.828 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.543, allocations: 12.28 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.543, allocations: 1.156 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.543, allocations: 1.812 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.5432, allocations: 213.5 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.5432, allocations: 12.81 kB / 0.8248 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5433, allocations: 2.344 kB / 0.8248 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.5433, allocations: 17.05 kB / 0.8249 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.5433, allocations: 8.031 kB / 0.8249 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5433, allocations: 8.688 kB / 0.8249 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.5434, allocations: 107.8 kB / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5434, allocations: 0 / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002438/0.5436, allocations: 105.4 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.0005367/0.5442, allocations: 0.8403 MB / 0.8259 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.5444, allocations: 213.4 kB / 0.8261 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5444, allocations: 0 / 0.8261 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.5445, allocations: 49.3 kB / 0.8262 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.5446, allocations: 12.22 kB / 0.8262 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.546, allocations: 1.824 MB / 0.8279 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.5462, allocations: 0.7143 MB / 0.8286 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.5462, allocations: 11.92 kB / 0.8287 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.5463, allocations: 32.31 kB / 0.8287 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5463, allocations: 1.406 kB / 0.8287 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.5662, allocations: 4.813 MB / 0.8334 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/7.139, allocations: 6.188 kB / 0.8334 GB, free: 8.574 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.274712938815355] Failed to read output from testmodel.py, exit status != 0: 7.217971273930743 7.231168222 6.689739291 Calling exit ...