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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 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.001082/0.001082, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.247/1.247, 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.6825/0.6825, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 64.62 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.342, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002209/0.3442, allocations: 1.476 MB / 0.5816 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.3452, allocations: 0.6918 MB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3452, allocations: 1.344 kB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.3453, allocations: 8.422 kB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.3453, allocations: 13.38 kB / 0.5823 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.3461, allocations: 347.2 kB / 0.5827 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3463, allocations: 173.6 kB / 0.5828 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.3464, allocations: 15.14 kB / 0.5828 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3465, allocations: 67.98 kB / 0.5829 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.3465, allocations: 51.52 kB / 0.583 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.3466, allocations: 12.19 kB / 0.583 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3469, allocations: 259 kB / 0.5832 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.347, allocations: 38.61 kB / 0.5832 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.3471, allocations: 57.19 kB / 0.5833 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3475, allocations: 302.7 kB / 0.5836 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3475, allocations: 5.5 kB / 0.5836 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3475, allocations: 0 / 0.5836 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3475, allocations: 0 / 0.5836 GB, free: 2.535 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.0004679/0.348, allocations: 470.4 kB / 0.584 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.348, allocations: 9.469 kB / 0.5841 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.348, allocations: 40.09 kB / 0.5841 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.3481, allocations: 19.44 kB / 0.5841 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3482, allocations: 212.3 kB / 0.5843 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-06/0.3483, allocations: 5.094 kB / 0.5843 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3483, allocations: 16.98 kB / 0.5843 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3485, allocations: 104.1 kB / 0.5844 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3485, allocations: 3.938 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3485, allocations: 1.609 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3485, allocations: 1.125 kB / 0.5844 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.3486, allocations: 45.2 kB / 0.5845 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3488, allocations: 255.2 kB / 0.5847 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3489, allocations: 105.8 kB / 0.5848 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.349, allocations: 71.28 kB / 0.5849 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.349, allocations: 4.562 kB / 0.5849 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3492, allocations: 139.7 kB / 0.585 GB, free: 1.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.3492, allocations: 0 / 0.585 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003578/0.3496, allocations: 222 kB / 0.5852 GB, free: 1.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3496, allocations: 115.5 kB / 0.5854 GB, free: 1.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.3497, allocations: 147.7 kB / 0.5855 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3498, allocations: 35.56 kB / 0.5855 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.3498, allocations: 94.94 kB / 0.5856 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.3498, allocations: 60.3 kB / 0.5857 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.3499, allocations: 60.31 kB / 0.5857 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.35, allocations: 327.2 kB / 0.586 GB, free: 400 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.3501, allocations: 48.22 kB / 0.5861 GB, free: 384 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3503, allocations: 181.2 kB / 0.5863 GB, free: 240 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3504, allocations: 136.3 kB / 0.5864 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3504, allocations: 1.25 kB / 0.5864 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002808/0.3507, allocations: 197.6 kB / 0.5866 GB, free: 72 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3507, allocations: 8.562 kB / 0.5866 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3508, allocations: 4.719 kB / 0.5866 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3508, allocations: 2.062 kB / 0.5866 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.3509, allocations: 16.67 kB / 0.5866 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3509, allocations: 1.062 kB / 0.5866 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3511, allocations: 50.62 kB / 0.5867 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3511, allocations: 10.98 kB / 0.5867 GB, free: 44 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.0001251/0.3512, allocations: 149 kB / 0.5868 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3513, allocations: 14.02 kB / 0.5868 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3513, allocations: 13.89 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3513, allocations: 1.562 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3513, allocations: 1.766 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3513, allocations: 1.672 kB / 0.5868 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3515, allocations: 208.4 kB / 0.587 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3515, allocations: 0.5938 kB / 0.587 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.3516, allocations: 9.516 kB / 0.5871 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3516, allocations: 6.406 kB / 0.5871 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3516, allocations: 10.89 kB / 0.5871 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3516, allocations: 5.656 kB / 0.5871 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3516, allocations: 0.8438 kB / 0.5871 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3519, allocations: 211.9 kB / 0.5873 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3519, allocations: 94.42 kB / 0.5874 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.352, allocations: 3.453 kB / 0.5874 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.352, allocations: 16.47 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3521, allocations: 7.469 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3521, allocations: 4.75 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.386e-05/0.3522, allocations: 108.4 kB / 0.5875 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3522, allocations: 0 / 0.5875 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.3525, allocations: 105.5 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.0006663/0.3532, allocations: 0.8419 MB / 0.5884 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.3535, allocations: 226.8 kB / 0.5886 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3535, allocations: 1.375 kB / 0.5886 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.3536, allocations: 57.89 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.0001633/0.3538, allocations: 17.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.001747/0.3555, allocations: 1.808 MB / 0.5905 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3558, allocations: 0.7103 MB / 0.5912 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.214e-05/0.3558, allocations: 11.16 kB / 0.5912 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.3559, allocations: 37.89 kB / 0.5912 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3559, allocations: 0 / 0.5912 GB, free: 12.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3864, allocations: 4.529 MB / 0.5956 GB, free: 11.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.713, allocations: 23.34 kB / 0.5957 GB, free: 11.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)