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.0008296/0.0008296, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009747/0.0009748, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7687/0.7687, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 15.97 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4253, allocations: 81.57 MB / 0.5831 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001454/0.4268, allocations: 1.171 MB / 0.5843 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.4278, allocations: 0.659 MB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.4279, allocations: 4.719 kB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.4279, allocations: 8.25 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.428, allocations: 13.69 kB / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000842/0.4289, allocations: 276.9 kB / 0.5852 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.4291, allocations: 145.6 kB / 0.5854 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.4292, allocations: 12.98 kB / 0.5854 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.4292, allocations: 66 kB / 0.5854 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.4293, allocations: 49.02 kB / 0.5855 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.4294, allocations: 7.188 kB / 0.5855 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.4298, allocations: 233.2 kB / 0.5857 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.4299, allocations: 30.28 kB / 0.5857 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.4299, allocations: 44.33 kB / 0.5858 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.4303, allocations: 209.8 kB / 0.586 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4303, allocations: 0.5938 kB / 0.586 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4303, allocations: 5 kB / 0.586 GB, free: 2.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.4303, allocations: 0 / 0.586 GB, free: 2.285 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.0005362/0.4309, allocations: 447 kB / 0.5864 GB, free: 1.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4309, allocations: 9.281 kB / 0.5864 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.431, allocations: 43.17 kB / 0.5865 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.431, allocations: 18.86 kB / 0.5865 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4312, allocations: 203.6 kB / 0.5867 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4312, allocations: 4.719 kB / 0.5867 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.4312, allocations: 20.8 kB / 0.5867 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4314, allocations: 99.44 kB / 0.5868 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4315, allocations: 1.891 kB / 0.5868 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4315, allocations: 1.031 kB / 0.5868 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4315, allocations: 1.188 kB / 0.5868 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.931e-05/0.4316, allocations: 45.25 kB / 0.5868 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.4319, allocations: 254.3 kB / 0.5871 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.432, allocations: 110.1 kB / 0.5872 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.4321, allocations: 73.03 kB / 0.5873 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4321, allocations: 1.062 kB / 0.5873 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.4324, allocations: 143.8 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.4324, allocations: 0.5625 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.000432/0.4328, allocations: 211.2 kB / 0.5876 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4329, allocations: 112.5 kB / 0.5877 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.433, allocations: 147.6 kB / 0.5878 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.433, allocations: 36.2 kB / 0.5879 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.4331, allocations: 95.36 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.4331, allocations: 56.92 kB / 0.588 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.4331, allocations: 0 / 0.588 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.4332, allocations: 331.7 kB / 0.5883 GB, free: 192 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.4333, allocations: 59.94 kB / 0.5884 GB, free: 164 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4335, allocations: 179.9 kB / 0.5886 GB, free: 16 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4337, allocations: 65.44 kB / 0.5886 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4337, allocations: 1.375 kB / 0.5886 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003238/0.434, allocations: 198.2 kB / 0.5888 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.434, allocations: 7.828 kB / 0.5888 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.4341, allocations: 5.281 kB / 0.5888 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4341, allocations: 1.422 kB / 0.5888 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4342, allocations: 12.05 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4342, allocations: 3.406 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.4344, allocations: 59.8 kB / 0.5889 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4345, allocations: 14.75 kB / 0.5889 GB, free: 15.87 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.4346, allocations: 141.5 kB / 0.5891 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4346, allocations: 14.16 kB / 0.5891 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.4347, allocations: 17.02 kB / 0.5891 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4347, allocations: 1.125 kB / 0.5891 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4347, allocations: 1.906 kB / 0.5891 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4347, allocations: 5.609 kB / 0.5891 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.4349, allocations: 212.1 kB / 0.5893 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4349, allocations: 1.094 kB / 0.5893 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.435, allocations: 17.89 kB / 0.5893 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.435, allocations: 1.594 kB / 0.5893 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.435, allocations: 7.078 kB / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.435, allocations: 2.172 kB / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.435, allocations: 1.062 kB / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.4354, allocations: 211.4 kB / 0.5895 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.4354, allocations: 92.89 kB / 0.5896 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4355, allocations: 3.703 kB / 0.5896 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.4355, allocations: 9.703 kB / 0.5896 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.4356, allocations: 11.91 kB / 0.5896 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4356, allocations: 5.812 kB / 0.5897 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.433e-05/0.4357, allocations: 103.6 kB / 0.5897 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 0.75 kB / 0.5898 GB, free: 15.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.4362, allocations: 110.1 kB / 0.5899 GB, free: 15.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009244/0.4371, allocations: 0.8359 MB / 0.5907 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.4374, allocations: 213 kB / 0.5909 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4375, allocations: 4 kB / 0.5909 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.4376, allocations: 61.44 kB / 0.5909 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.4377, allocations: 9.062 kB / 0.5909 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4392, allocations: 0.8553 MB / 0.5918 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.4396, allocations: 0.7155 MB / 0.5925 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.4396, allocations: 15.78 kB / 0.5925 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.4397, allocations: 32.44 kB / 0.5925 GB, free: 13 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4397, allocations: 0 / 0.5925 GB, free: 13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.4564, allocations: 4.256 MB / 0.5967 GB, free: 12.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.4567, allocations: 200.6 kB / 0.5969 GB, free: 11.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.303, allocations: 1 kB / 0.5969 GB, free: 11.81 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/linux/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) Environment - environmentSimulation: