Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_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.0009716/0.0009715, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001147/0.001147, allocations: 172.7 kB / 15.95 MB, free: 208 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 9.5 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2247, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001992/0.2268, allocations: 1.168 MB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2279, allocations: 0.6507 MB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.228, allocations: 0 / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.2281, allocations: 7.922 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.2282, allocations: 7.938 kB / 0.5893 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.2292, allocations: 288.7 kB / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2294, allocations: 147.7 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.2295, allocations: 4 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.2296, allocations: 59.84 kB / 0.5897 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.2297, allocations: 55.8 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.2297, allocations: 4 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.2301, allocations: 227.7 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.2302, allocations: 23.97 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.2303, allocations: 49.62 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2306, allocations: 204 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2306, allocations: 0 / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2306, allocations: 0 / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2306, 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.0006131/0.2312, allocations: 458.7 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2313, allocations: 12.03 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.2313, allocations: 38.55 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.2314, allocations: 15.81 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2317, allocations: 210.8 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2317, allocations: 4 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.2317, allocations: 12 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2319, allocations: 104.2 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2319, allocations: 0 / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.232, allocations: 0 / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.232, allocations: 4 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/0.2321, allocations: 47.91 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.2324, allocations: 247.3 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2326, allocations: 119.8 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2327, allocations: 70.67 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2327, allocations: 0 / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.233, allocations: 144.2 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.233, allocations: 3.938 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004485/0.2335, allocations: 209.5 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.2336, allocations: 110.8 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2338, allocations: 148.1 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.2338, allocations: 33.7 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.2339, allocations: 92.7 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.234, allocations: 63.33 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.234, allocations: 8 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.2342, allocations: 326.8 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.2343, allocations: 52.2 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2345, allocations: 176.5 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.2347, allocations: 79.47 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2347, allocations: 0 / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003009/0.235, allocations: 193.3 kB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.235, allocations: 4 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.2351, allocations: 4 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2351, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2352, allocations: 16 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2352, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.2354, allocations: 63.72 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2355, 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.0001624/0.2356, allocations: 144 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2357, allocations: 11.81 kB / 0.5934 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.2357, allocations: 16.7 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2357, allocations: 0 / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2357, allocations: 4 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2357, allocations: 144 / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.236, allocations: 221.4 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.236, allocations: 0 / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.236, allocations: 11.94 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.236, allocations: 4 kB / 0.5936 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2361, allocations: 8 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2361, allocations: 4 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2361, allocations: 0 / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2364, allocations: 210 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2365, allocations: 92.86 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2365, allocations: 4 kB / 0.5939 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.2366, allocations: 19.92 kB / 0.5939 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.2367, allocations: 11.92 kB / 0.5939 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.2367, allocations: 4 kB / 0.5939 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.987e-05/0.2368, allocations: 105.3 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2368, allocations: 0 / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000406/0.2372, allocations: 95.98 kB / 0.5941 GB, free: 11.59 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.0008448/0.238, allocations: 0.8542 MB / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.2384, allocations: 219.6 kB / 0.5952 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2384, allocations: 0 / 0.5952 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.2385, allocations: 59.92 kB / 0.5952 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.0001775/0.2387, allocations: 11.98 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.001362/0.24, allocations: 0.8462 MB / 0.5961 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2404, allocations: 0.7087 MB / 0.5968 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.398e-05/0.2404, allocations: 8.891 kB / 0.5968 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.2405, allocations: 35.42 kB / 0.5968 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2405, allocations: 4 kB / 0.5968 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.262, allocations: 4.262 MB / 0.601 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/0.2623, allocations: 207.6 kB / 0.6012 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.414, allocations: 0 / 0.6012 GB, free: 4.422 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: