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.0009517/0.0009516, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00739/0.00739, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7188/0.7188, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001234/0.3417, allocations: 1.204 MB / 0.5849 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.3427, allocations: 0.7062 MB / 0.5856 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.3427, allocations: 0 / 0.5856 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.3428, allocations: 9.188 kB / 0.5856 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.3429, allocations: 11.98 kB / 0.5856 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.3436, allocations: 289.9 kB / 0.5859 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.3438, allocations: 166.2 kB / 0.5861 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.3438, allocations: 13.81 kB / 0.5861 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.3439, allocations: 60.14 kB / 0.5861 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.344, allocations: 52.61 kB / 0.5862 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.344, allocations: 6.781 kB / 0.5862 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.3443, allocations: 246.5 kB / 0.5864 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.3444, allocations: 35.88 kB / 0.5865 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3445, allocations: 79.47 kB / 0.5865 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.3448, allocations: 294.8 kB / 0.5868 GB, free: 2.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3448, allocations: 1.734 kB / 0.5868 GB, free: 2.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3449, allocations: 0 / 0.5868 GB, free: 2.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3449, allocations: 0 / 0.5868 GB, free: 2.176 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.0004333/0.3453, allocations: 445.8 kB / 0.5872 GB, free: 1.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3453, allocations: 10.56 kB / 0.5873 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.3454, allocations: 38.84 kB / 0.5873 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3454, allocations: 16.41 kB / 0.5873 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3456, allocations: 208.5 kB / 0.5875 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3456, allocations: 8.594 kB / 0.5875 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.3456, allocations: 13.48 kB / 0.5875 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3458, allocations: 94.62 kB / 0.5876 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3458, allocations: 9.438 kB / 0.5876 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3458, allocations: 0.7031 kB / 0.5876 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3458, allocations: 2.188 kB / 0.5876 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.3459, allocations: 48.56 kB / 0.5877 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.3461, allocations: 255 kB / 0.5879 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3463, allocations: 110.1 kB / 0.588 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.3464, allocations: 78.23 kB / 0.5881 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3464, allocations: 0.9375 kB / 0.5881 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3466, allocations: 140.1 kB / 0.5882 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.193e-06/0.3466, allocations: 0 / 0.5882 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003546/0.347, allocations: 221.9 kB / 0.5884 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.347, allocations: 116.3 kB / 0.5886 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.3471, allocations: 146.2 kB / 0.5887 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3471, allocations: 35.36 kB / 0.5887 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3472, allocations: 95.98 kB / 0.5888 GB, free: 448 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.3472, allocations: 60.55 kB / 0.5889 GB, free: 400 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.3473, allocations: 34.33 kB / 0.5889 GB, free: 372 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.3473, allocations: 328.9 kB / 0.5892 GB, free: 44 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.3474, allocations: 51.27 kB / 0.5893 GB, free: 24 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.3476, allocations: 177.7 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3478, allocations: 132.6 kB / 0.5896 GB, free: 15.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3478, allocations: 0 / 0.5896 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002951/0.3481, allocations: 197.1 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3482, allocations: 5.688 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.3482, allocations: 5.641 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3482, allocations: 1.375 kB / 0.5898 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.3483, allocations: 19.89 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3483, allocations: 2.797 kB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.3485, allocations: 59.84 kB / 0.5898 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3486, allocations: 5.688 kB / 0.5899 GB, free: 15.7 MB / 446.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.0001187/0.3487, allocations: 142.5 kB / 0.59 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3487, allocations: 8.719 kB / 0.59 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.3488, allocations: 21.78 kB / 0.59 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3488, allocations: 2.75 kB / 0.59 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3488, allocations: 5.375 kB / 0.59 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3488, allocations: 0.6562 kB / 0.59 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3489, allocations: 209.2 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.349, allocations: 0.9375 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.349, allocations: 9.828 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.349, allocations: 1.453 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.349, allocations: 7.156 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.349, allocations: 1.688 kB / 0.5902 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.349, allocations: 5.062 kB / 0.5903 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3493, allocations: 216.3 kB / 0.5905 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3494, allocations: 91.16 kB / 0.5905 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3494, allocations: 3.719 kB / 0.5905 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.3495, allocations: 21.53 kB / 0.5906 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3495, allocations: 12.06 kB / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3495, allocations: 4.828 kB / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.3496, allocations: 107 kB / 0.5907 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3496, allocations: 0 / 0.5907 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.35, allocations: 107 kB / 0.5908 GB, free: 14.96 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.0006965/0.3507, allocations: 0.8437 MB / 0.5916 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.351, allocations: 217.2 kB / 0.5918 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.351, allocations: 0 / 0.5918 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.3511, allocations: 57.67 kB / 0.5919 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.3513, allocations: 14.59 kB / 0.5919 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3531, allocations: 1.834 MB / 0.5937 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3534, allocations: 0.7068 MB / 0.5944 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.3534, allocations: 11.47 kB / 0.5944 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3535, allocations: 31.94 kB / 0.5944 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3535, allocations: 0.9062 kB / 0.5944 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3957/0.7492, allocations: 4.234 MB / 0.5985 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.7495, allocations: 216.7 kB / 0.5988 GB, free: 10.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.735, allocations: 4 kB / 0.5988 GB, free: 10.66 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)