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.0007859/0.0007859, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008691/0.0008691, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9461/0.9461, allocations: 230.6 MB / 256 MB, free: 9.59 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.7857/0.7857, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.000938/0.000938, allocations: 71.38 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5303, allocations: 102 MB / 0.8178 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002235/0.5325, allocations: 1.462 MB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.5335, allocations: 0.6333 MB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.5336, allocations: 0 / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.219e-05/0.5336, allocations: 10.59 kB / 0.8198 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.5337, allocations: 13.75 kB / 0.8198 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.5347, allocations: 365 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.535, allocations: 174.9 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.5351, allocations: 18.36 kB / 0.8204 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.5352, allocations: 66.69 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.5353, allocations: 49.78 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.5353, allocations: 10.16 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.5357, allocations: 277.6 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.5357, allocations: 37.88 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.5358, allocations: 53.19 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.5362, allocations: 304.8 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5362, allocations: 4 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5362, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5362, allocations: 3.938 kB / 0.8211 GB, free: 14.91 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.0005561/0.5368, allocations: 409.5 kB / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5368, allocations: 11.62 kB / 0.8215 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5368, allocations: 38.64 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5369, allocations: 14.88 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.5371, allocations: 153.2 kB / 0.8217 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5371, allocations: 8.094 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.5371, allocations: 13.91 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.5373, allocations: 97.2 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5373, allocations: 3.938 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5373, allocations: 5.719 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5373, allocations: 1.781 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.5374, allocations: 43.53 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.5376, allocations: 194.2 kB / 0.8221 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5377, allocations: 100.9 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.5378, allocations: 61.94 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.5378, allocations: 2.406 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.538, allocations: 145.4 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.538, allocations: 0 / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003493/0.5384, allocations: 219.9 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.5385, allocations: 116.2 kB / 0.8227 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.5386, allocations: 148.6 kB / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.5386, allocations: 37.36 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.5387, allocations: 95.17 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.5387, allocations: 63.95 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.5388, allocations: 61.19 kB / 0.8231 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5389, allocations: 327.6 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.539, allocations: 56.34 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.5392, allocations: 459.7 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5394, allocations: 133 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5394, allocations: 0 / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002288/0.5396, allocations: 199.8 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5396, allocations: 6.203 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.5397, allocations: 4.625 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5397, allocations: 1.344 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.5398, allocations: 19.97 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5398, allocations: 3.125 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.5399, allocations: 52.91 kB / 0.8243 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5399, allocations: 5.625 kB / 0.8243 GB, free: 12.28 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 0.0001026/0.5401, allocations: 145.7 kB / 0.8244 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.5401, allocations: 18.05 kB / 0.8245 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.5401, allocations: 12.81 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5401, allocations: 2.375 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5401, allocations: 1.797 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5401, allocations: 0.5625 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.5402, allocations: 175.7 kB / 0.8246 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5402, allocations: 5.25 kB / 0.8247 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.5403, allocations: 14.3 kB / 0.8247 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5403, allocations: 1.375 kB / 0.8247 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5403, allocations: 2.703 kB / 0.8247 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5403, allocations: 5.672 kB / 0.8247 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5403, allocations: 1.188 kB / 0.8247 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.5405, allocations: 212.2 kB / 0.8249 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.5405, allocations: 13.27 kB / 0.8249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.5406, allocations: 3.266 kB / 0.8249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.5406, allocations: 11.78 kB / 0.8249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5406, allocations: 14.34 kB / 0.8249 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5407, allocations: 3.688 kB / 0.8249 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.5407, allocations: 110 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5407, allocations: 0 / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003664/0.5411, allocations: 103.3 kB / 0.8251 GB, free: 11.68 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.0005961/0.5417, allocations: 0.8417 MB / 0.8259 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5419, allocations: 216.7 kB / 0.8262 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5419, allocations: 0 / 0.8262 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.542, allocations: 56.2 kB / 0.8262 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5421, allocations: 17.52 kB / 0.8262 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.5437, allocations: 1.821 MB / 0.828 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.5437, allocations: 99.88 kB / 0.8281 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.5438, allocations: 12.45 kB / 0.8281 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.5438, allocations: 33.38 kB / 0.8281 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of SimCode: time 1.623e-06/0.5438, allocations: 0 / 0.8281 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5664, allocations: 5.285 MB / 0.8333 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.294, allocations: 15.09 kB / 0.8333 GB, free: 8.105 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.28046815097332] Failed to read output from testmodel.py, exit status != 0: 7.374231240246445 7.38682351 6.847535673 Calling exit ...