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.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001145/0.001145, allocations: 198.9 kB / 16.26 MB, free: 6.621 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6692/0.6692, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 64.03 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00226/0.1318, allocations: 1.53 MB / 0.5812 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.1328, allocations: 0.6969 MB / 0.5819 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.1328, allocations: 0 / 0.5819 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.722e-05/0.1329, allocations: 11.88 kB / 0.5819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.1329, allocations: 7.922 kB / 0.5819 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.1337, allocations: 315.7 kB / 0.5822 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1339, allocations: 167.7 kB / 0.5823 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1339, allocations: 11.98 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.134, allocations: 67.78 kB / 0.5824 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1341, allocations: 59.75 kB / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1341, allocations: 12 kB / 0.5825 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1344, allocations: 247.7 kB / 0.5827 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1344, allocations: 35.91 kB / 0.5827 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1345, allocations: 71.7 kB / 0.5828 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1348, allocations: 291.6 kB / 0.5831 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1348, allocations: 0 / 0.5831 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1348, allocations: 0 / 0.5831 GB, free: 5.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1349, allocations: 0 / 0.5831 GB, free: 5.512 MB / 494.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.0005054/0.1354, allocations: 486.8 kB / 0.5836 GB, free: 4.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1354, allocations: 8.031 kB / 0.5836 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1354, allocations: 38.75 kB / 0.5836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1355, allocations: 20.75 kB / 0.5836 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1357, allocations: 206.1 kB / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1357, allocations: 12.36 kB / 0.5838 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1357, allocations: 8.375 kB / 0.5838 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1359, allocations: 100.7 kB / 0.5839 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1359, allocations: 3.938 kB / 0.5839 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1359, allocations: 0 / 0.5839 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1359, allocations: 0 / 0.5839 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.136, allocations: 55.91 kB / 0.584 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.1362, allocations: 247.3 kB / 0.5842 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1363, allocations: 111.9 kB / 0.5843 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.1364, allocations: 74.66 kB / 0.5844 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1365, allocations: 0 / 0.5844 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1367, allocations: 138.5 kB / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 5.861e-06/0.1367, allocations: 3.984 kB / 0.5845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003446/0.137, allocations: 218 kB / 0.5847 GB, free: 3.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.1371, allocations: 118.8 kB / 0.5849 GB, free: 3.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.1372, allocations: 136 kB / 0.585 GB, free: 3.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1372, allocations: 37.7 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1373, allocations: 100.7 kB / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.1373, allocations: 51.34 kB / 0.5852 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.1374, allocations: 61.69 kB / 0.5852 GB, free: 3.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1375, allocations: 330.8 kB / 0.5855 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.1376, allocations: 60.19 kB / 0.5856 GB, free: 2.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1378, allocations: 175.8 kB / 0.5858 GB, free: 2.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.138, allocations: 138.1 kB / 0.5859 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.138, allocations: 0 / 0.5859 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002592/0.1383, allocations: 201.1 kB / 0.5861 GB, free: 2.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1383, allocations: 4 kB / 0.5861 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.1383, allocations: 8 kB / 0.5861 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1383, allocations: 4 kB / 0.5861 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.1384, allocations: 8 kB / 0.5861 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1384, allocations: 8.219 kB / 0.5861 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1386, allocations: 56.22 kB / 0.5862 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1386, allocations: 15.94 kB / 0.5862 GB, free: 1.996 MB / 494.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.0001102/0.1388, allocations: 136.7 kB / 0.5863 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1388, allocations: 11.91 kB / 0.5863 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.1388, allocations: 12.7 kB / 0.5864 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1388, allocations: 4 kB / 0.5864 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1388, allocations: 0 / 0.5864 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1388, allocations: 0 / 0.5864 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.139, allocations: 217.4 kB / 0.5866 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.139, allocations: 8 kB / 0.5866 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.1391, allocations: 15.88 kB / 0.5866 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1391, allocations: 0 / 0.5866 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1391, allocations: 4 kB / 0.5866 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1391, allocations: 0 / 0.5866 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1391, allocations: 7.969 kB / 0.5866 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1393, allocations: 208.9 kB / 0.5868 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1394, allocations: 92.86 kB / 0.5869 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1394, allocations: 8 kB / 0.5869 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.1395, allocations: 7.922 kB / 0.5869 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1395, allocations: 19.92 kB / 0.5869 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1395, allocations: 4 kB / 0.5869 GB, free: 1.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.1396, allocations: 105.6 kB / 0.587 GB, free: 1.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1396, allocations: 0 / 0.587 GB, free: 1.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1399, allocations: 99.98 kB / 0.5871 GB, free: 0.957 MB / 494.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.0006075/0.1405, allocations: 0.8447 MB / 0.5879 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1408, allocations: 221.1 kB / 0.5882 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1408, allocations: 0 / 0.5882 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1409, allocations: 59.91 kB / 0.5882 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.1411, allocations: 19.86 kB / 0.5882 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.1427, allocations: 1.842 MB / 0.59 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.1429, allocations: 0.7045 MB / 0.5907 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.143, allocations: 12.88 kB / 0.5907 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.143, allocations: 35.44 kB / 0.5908 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.143, allocations: 0 / 0.5908 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3256/0.4686, allocations: 4.413 MB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.4689, allocations: 216.7 kB / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.25, allocations: 4 kB / 0.5953 GB, free: 8.566 MB / 0.4981 GB (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)