Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001521/0.001521, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001473/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.281/2.281, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.19/1.19, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005849/0.0005844, allocations: 8 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.743, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002942/0.746, allocations: 1.167 MB / 0.5841 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.7478, allocations: 0.6185 MB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.7479, allocations: 1.031 kB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-05/0.748, allocations: 7.969 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.7481, allocations: 12.84 kB / 0.5847 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.7497, allocations: 269.1 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.7501, allocations: 103.4 kB / 0.5851 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.7503, allocations: 13.59 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.7504, allocations: 66.92 kB / 0.5852 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.7506, allocations: 45.03 kB / 0.5852 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.7507, allocations: 5.906 kB / 0.5852 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.7514, allocations: 201.5 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.7515, allocations: 39.05 kB / 0.5854 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.7516, allocations: 53.19 kB / 0.5855 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.7523, allocations: 204.7 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7523, allocations: 4 kB / 0.5857 GB, free: 2.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7523, allocations: 0.8125 kB / 0.5857 GB, free: 2.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.7523, allocations: 0 / 0.5857 GB, free: 2.336 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.0008745/0.7532, allocations: 447.3 kB / 0.5861 GB, free: 1.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.7533, allocations: 9.375 kB / 0.5861 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.7534, allocations: 39 kB / 0.5862 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.7534, allocations: 14.72 kB / 0.5862 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.7538, allocations: 215.3 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.7538, allocations: 5.625 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.7539, allocations: 12.42 kB / 0.5864 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.7542, allocations: 97.97 kB / 0.5865 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7542, allocations: 8.531 kB / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.7542, allocations: 1.25 kB / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.7543, allocations: 1.688 kB / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.7545, allocations: 45.59 kB / 0.5865 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.7549, allocations: 253.2 kB / 0.5868 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.7552, allocations: 106.8 kB / 0.5869 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.7552, allocations: 1 kB / 0.5869 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000403/0.7556, allocations: 141.5 kB / 0.587 GB, free: 1.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 2.405e-06/0.7556, allocations: 0 / 0.587 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008357/0.7565, allocations: 459.8 kB / 0.5875 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.7566, allocations: 116.7 kB / 0.5876 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.7568, allocations: 145.6 kB / 0.5877 GB, free: 496 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.7569, allocations: 35.5 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.757, allocations: 99.33 kB / 0.5878 GB, free: 364 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/0.7571, allocations: 56.81 kB / 0.5879 GB, free: 320 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.7571, allocations: 4.5 kB / 0.5879 GB, free: 316 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7572, allocations: 327.8 kB / 0.5882 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.7574, allocations: 51.64 kB / 0.5883 GB, free: 15.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.7579, allocations: 175.5 kB / 0.5884 GB, free: 15.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.7581, allocations: 69.36 kB / 0.5885 GB, free: 15.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7581, allocations: 1.219 kB / 0.5885 GB, free: 15.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006353/0.7588, allocations: 197.9 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.7588, allocations: 6.516 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/0.7589, allocations: 5.5 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.7589, allocations: 1.562 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.7591, allocations: 19.19 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.7591, allocations: 2.906 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.7596, allocations: 57.8 kB / 0.5888 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.7596, allocations: 6.219 kB / 0.5888 GB, free: 15.68 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.0002182/0.7598, allocations: 147.5 kB / 0.5889 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.7599, allocations: 13.72 kB / 0.5889 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.76, allocations: 13.78 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.76, allocations: 2.969 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.76, allocations: 0.6562 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.76, allocations: 2.75 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.7604, allocations: 210.9 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7604, allocations: 2.125 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.7605, allocations: 9.516 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7605, allocations: 1.312 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.7605, allocations: 7.344 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7606, allocations: 0.9688 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.7606, allocations: 2.625 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.7612, allocations: 240.6 kB / 0.5894 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.7613, allocations: 98.38 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.7614, allocations: 4.031 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.7615, allocations: 4.703 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.7616, allocations: 12.14 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.7616, allocations: 5.375 kB / 0.5895 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.7618, allocations: 113.7 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7618, allocations: 0 / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008372/0.7626, allocations: 106.8 kB / 0.5897 GB, free: 14.91 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.001517/0.7642, allocations: 0.9962 MB / 0.5907 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.7648, allocations: 212.9 kB / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7648, allocations: 0 / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.7651, allocations: 62.33 kB / 0.591 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.7653, allocations: 7.219 kB / 0.591 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.7679, allocations: 1.158 MB / 0.5921 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.7684, allocations: 0.7113 MB / 0.5928 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.106e-05/0.7685, allocations: 12.22 kB / 0.5928 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.7686, allocations: 31.62 kB / 0.5928 GB, free: 12.31 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7686, allocations: 0.5 kB / 0.5928 GB, free: 12.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.8106, allocations: 4.25 MB / 0.597 GB, free: 11.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.811, allocations: 196.8 kB / 0.5972 GB, free: 11.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/3.877, allocations: 3.719 kB / 0.5972 GB, free: 11.16 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: