Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_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.0008118/0.0008119, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000873/0.0008731, allocations: 168.7 kB / 15.95 MB, free: 200 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005233, allocations: 8 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.241, allocations: 82.31 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001788/0.2428, allocations: 1.168 MB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2439, allocations: 0.6546 MB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.2439, allocations: 0 / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.956e-05/0.244, allocations: 7.922 kB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.2441, allocations: 7.938 kB / 0.5893 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.2449, allocations: 296.7 kB / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.2451, allocations: 143.6 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.2452, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.2453, allocations: 67.83 kB / 0.5897 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.2454, allocations: 51.81 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2454, allocations: 4 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.2458, allocations: 219.8 kB / 0.59 GB, free: 280 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.2458, allocations: 27.91 kB / 0.59 GB, free: 252 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.2459, allocations: 53.62 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.2463, allocations: 199.9 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2463, allocations: 3.938 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2463, allocations: 4 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2463, allocations: 4 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB 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.0006301/0.2469, allocations: 446.9 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.247, allocations: 12.03 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.247, allocations: 38.55 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.2471, allocations: 15.81 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.2473, allocations: 214.8 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2474, allocations: 15.94 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2474, allocations: 8 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2476, allocations: 96.23 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2476, allocations: 0 / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2476, allocations: 3.984 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2476, allocations: 7.938 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2477, allocations: 39.98 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.248, allocations: 255.3 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2482, allocations: 115.8 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2483, allocations: 66.67 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2483, allocations: 4 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.2486, allocations: 144.2 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.2486, allocations: 0 / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004189/0.249, allocations: 209.4 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.2491, allocations: 114.8 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2493, allocations: 147.8 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.2493, allocations: 33.7 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.2494, allocations: 100.7 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.2495, allocations: 51.34 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.2495, allocations: 8 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2497, allocations: 334.7 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.2498, allocations: 48.25 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.2501, allocations: 176.5 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2502, allocations: 71.59 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2502, allocations: 4 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002853/0.2505, allocations: 201.3 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2505, allocations: 4 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.2505, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2506, allocations: 0 / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.2507, allocations: 19.92 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2507, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2509, allocations: 59.8 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2509, allocations: 4 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB 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.0001546/0.2511, allocations: 144 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2511, allocations: 15.8 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.2511, allocations: 12.72 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2512, allocations: 0 / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2512, allocations: 7.938 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2512, allocations: 4 kB / 0.5934 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2514, allocations: 213.4 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2514, allocations: 3.938 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.2514, allocations: 8 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2514, allocations: 4.141 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2515, allocations: 7.984 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2515, allocations: 4 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2515, allocations: 0 / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2518, allocations: 214 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.2518, allocations: 92.86 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.2519, allocations: 11.98 kB / 0.5939 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.2519, allocations: 4 kB / 0.5939 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.252, allocations: 11.98 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.252, allocations: 4 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.2521, allocations: 109.1 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2521, allocations: 4 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003487/0.2524, allocations: 99.98 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB 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.0007797/0.2532, allocations: 0.8424 MB / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.2535, allocations: 217 kB / 0.5952 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2536, allocations: 3.938 kB / 0.5952 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.2536, allocations: 59.92 kB / 0.5953 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.2538, allocations: 7.984 kB / 0.5953 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2551, allocations: 0.8528 MB / 0.5961 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2555, allocations: 0.7126 MB / 0.5968 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.2555, allocations: 12.88 kB / 0.5968 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2556, allocations: 31.44 kB / 0.5968 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.2556, allocations: 0 / 0.5968 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2726, allocations: 4.263 MB / 0.601 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.273, allocations: 209.8 kB / 0.6012 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.426, allocations: 0 / 0.6012 GB, free: 4.422 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: