Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001355/0.001356, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.97 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4012, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002868/0.4042, allocations: 1.481 MB / 0.5816 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4054, allocations: 0.6963 MB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.4054, allocations: 0.7812 kB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.646e-05/0.4055, allocations: 11.7 kB / 0.5823 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.4056, allocations: 17.36 kB / 0.5823 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4067, allocations: 345.9 kB / 0.5827 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.4071, allocations: 166.2 kB / 0.5828 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.4071, allocations: 13.97 kB / 0.5828 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.4073, allocations: 76.48 kB / 0.5829 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4074, allocations: 49.02 kB / 0.583 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.4074, allocations: 10.69 kB / 0.583 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.4079, allocations: 255.8 kB / 0.5832 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.408, allocations: 39.2 kB / 0.5832 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.4081, allocations: 61.05 kB / 0.5833 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.4086, allocations: 298.8 kB / 0.5836 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4087, allocations: 4.5 kB / 0.5836 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4087, allocations: 0 / 0.5836 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4087, allocations: 0.7812 kB / 0.5836 GB, free: 2.531 MB / 430.1 MB 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.000648/0.4093, allocations: 470.6 kB / 0.584 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4094, allocations: 9.688 kB / 0.584 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.4094, allocations: 39.08 kB / 0.5841 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.4095, allocations: 20.12 kB / 0.5841 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4097, allocations: 215.8 kB / 0.5843 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4097, allocations: 10.27 kB / 0.5843 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.4098, allocations: 12.56 kB / 0.5843 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.41, allocations: 95.06 kB / 0.5844 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.41, allocations: 4.656 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.41, allocations: 4.656 kB / 0.5844 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.41, allocations: 3.047 kB / 0.5844 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.452e-05/0.4101, allocations: 43.86 kB / 0.5845 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.4103, allocations: 255.4 kB / 0.5847 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4105, allocations: 106.2 kB / 0.5848 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4106, allocations: 73.86 kB / 0.5849 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4106, allocations: 5.531 kB / 0.5849 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.4108, allocations: 135.9 kB / 0.585 GB, free: 1.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.4109, allocations: 0 / 0.585 GB, free: 1.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004051/0.4113, allocations: 220.9 kB / 0.5852 GB, free: 1.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4113, allocations: 117.1 kB / 0.5853 GB, free: 1.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.4114, allocations: 142.9 kB / 0.5855 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4115, allocations: 38.67 kB / 0.5855 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.4115, allocations: 95.64 kB / 0.5856 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.4116, allocations: 60.14 kB / 0.5857 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.4117, allocations: 60.22 kB / 0.5857 GB, free: 0.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.4117, allocations: 328.7 kB / 0.586 GB, free: 396 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.4118, allocations: 46.91 kB / 0.5861 GB, free: 380 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.4121, allocations: 182.1 kB / 0.5863 GB, free: 232 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.4123, allocations: 129.2 kB / 0.5864 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4124, allocations: 0 / 0.5864 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003924/0.4128, allocations: 214 kB / 0.5866 GB, free: 60 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4128, allocations: 4.844 kB / 0.5866 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.4128, allocations: 4.141 kB / 0.5866 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4129, allocations: 2.125 kB / 0.5866 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.413, allocations: 15.98 kB / 0.5866 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.413, allocations: 1.828 kB / 0.5866 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.4133, allocations: 50.34 kB / 0.5867 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4133, allocations: 10.8 kB / 0.5867 GB, free: 36 kB / 430.1 MB 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.0002051/0.4135, allocations: 145.2 kB / 0.5868 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4136, allocations: 9.516 kB / 0.5868 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.4136, allocations: 21.36 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4136, allocations: 2.094 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4136, allocations: 1.547 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4137, allocations: 5.609 kB / 0.5869 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4139, allocations: 208.4 kB / 0.587 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4139, allocations: 1.156 kB / 0.5871 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.414, allocations: 10.31 kB / 0.5871 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.414, allocations: 4.875 kB / 0.5871 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.414, allocations: 7 kB / 0.5871 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.414, allocations: 6.375 kB / 0.5871 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.414, allocations: 4.562 kB / 0.5871 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.4143, allocations: 205.1 kB / 0.5873 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4144, allocations: 93.56 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4144, allocations: 7.609 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.4145, allocations: 12.64 kB / 0.5874 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.4145, allocations: 7.875 kB / 0.5874 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4146, allocations: 4.781 kB / 0.5874 GB, free: 15.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.791e-05/0.4146, allocations: 106.8 kB / 0.5875 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4146, allocations: 1.156 kB / 0.5875 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.415, allocations: 105.3 kB / 0.5876 GB, free: 15.3 MB / 446.1 MB 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.0007652/0.4158, allocations: 0.8423 MB / 0.5884 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.4162, allocations: 222.3 kB / 0.5886 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4162, allocations: 0.5312 kB / 0.5886 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4163, allocations: 57.81 kB / 0.5887 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.4165, allocations: 18.98 kB / 0.5887 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4185, allocations: 1.813 MB / 0.5905 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.4188, allocations: 0.706 MB / 0.5912 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.4189, allocations: 12.66 kB / 0.5912 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.4189, allocations: 32.05 kB / 0.5912 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4189, allocations: 1.5 kB / 0.5912 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.4391, allocations: 4.54 MB / 0.5956 GB, free: 11.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.701, allocations: 16.59 kB / 0.5957 GB, free: 11.05 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)