Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.965/0.965, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 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: 188.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 102.3 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 272.6 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.744e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5568, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.6981, allocations: 110.5 MB / 0.8723 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6984, allocations: 67.97 kB / 0.8723 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.7117, allocations: 4.497 MB / 0.8767 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7118, allocations: 0 / 0.8767 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.7118, allocations: 4 kB / 0.8767 GB, free: 9.477 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008356/0.7127, allocations: 0.5789 MB / 0.8773 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.7127, allocations: 12.03 kB / 0.8773 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.7128, allocations: 46.48 kB / 0.8774 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.611e-05/0.7129, allocations: 35.62 kB / 0.8774 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.7132, allocations: 250.6 kB / 0.8776 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.7133, allocations: 15.95 kB / 0.8776 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.7133, allocations: 15.98 kB / 0.8777 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.7136, allocations: 137.5 kB / 0.8778 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7136, allocations: 0 / 0.8778 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.7137, allocations: 11.98 kB / 0.8778 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7137, allocations: 0 / 0.8778 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.7138, allocations: 43.98 kB / 0.8778 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.7142, allocations: 333.2 kB / 0.8782 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.7144, allocations: 130.6 kB / 0.8783 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.7146, allocations: 56.84 kB / 0.8783 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7146, allocations: 4 kB / 0.8783 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.715, allocations: 207.6 kB / 0.8785 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.715, allocations: 4 kB / 0.8785 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0004375/0.7154, allocations: 226.4 kB / 0.8788 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.7155, allocations: 55.41 kB / 0.8788 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.7157, allocations: 255.4 kB / 0.8791 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.7158, allocations: 41.7 kB / 0.8791 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.7159, allocations: 85.14 kB / 0.8792 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.7159, allocations: 43.5 kB / 0.8792 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.716, allocations: 11.98 kB / 0.8792 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7161, allocations: 326.8 kB / 0.8795 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.7163, allocations: 96.22 kB / 0.8796 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.7166, allocations: 146.4 kB / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.7168, allocations: 156 kB / 0.8799 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7168, allocations: 0 / 0.8799 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000655/0.7175, allocations: 417.1 kB / 0.8803 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.7175, allocations: 76.02 kB / 0.8804 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7176, allocations: 0 / 0.8804 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7176, allocations: 7.938 kB / 0.8804 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.7177, allocations: 23.92 kB / 0.8804 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7178, allocations: 8.172 kB / 0.8804 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.7181, allocations: 55.81 kB / 0.8805 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.7182, allocations: 51.98 kB / 0.8805 GB, free: 5.277 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001274/0.7183, allocations: 127.2 kB / 0.8807 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.7184, allocations: 31.66 kB / 0.8807 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.7185, allocations: 30.05 kB / 0.8807 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7185, allocations: 3.984 kB / 0.8807 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7185, allocations: 0 / 0.8807 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7185, allocations: 3.938 kB / 0.8807 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.7193, allocations: 0.5584 MB / 0.8813 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7193, allocations: 0 / 0.8813 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.7193, allocations: 11.94 kB / 0.8813 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7193, allocations: 0 / 0.8813 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.7194, allocations: 19.97 kB / 0.8813 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7194, allocations: 4 kB / 0.8813 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7194, allocations: 0 / 0.8813 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.7198, allocations: 311 kB / 0.8816 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.72, allocations: 152.7 kB / 0.8817 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.72, allocations: 12 kB / 0.8818 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.7202, allocations: 11.98 kB / 0.8818 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.7202, allocations: 23.97 kB / 0.8818 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.7203, allocations: 27.98 kB / 0.8818 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001845/0.7205, allocations: 203.1 kB / 0.882 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7205, allocations: 0 / 0.882 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002899/0.7208, allocations: 52.36 kB / 0.8821 GB, free: 3.613 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007028/0.7215, allocations: 0.8801 MB / 0.8829 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.722, allocations: 351.8 kB / 0.8833 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.722, allocations: 0 / 0.8833 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.7222, allocations: 73.33 kB / 0.8833 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.7224, allocations: 16.88 kB / 0.8833 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.7231, allocations: 348 kB / 0.8837 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.7235, allocations: 0.7486 MB / 0.8844 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.7236, allocations: 37.22 kB / 0.8844 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7237, allocations: 43.41 kB / 0.8845 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of SimCode: time 3.8e-07/0.7237, allocations: 0 / 0.8845 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.7409, allocations: 5.404 MB / 0.8898 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.7411, allocations: 166.4 kB / 0.8899 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.459, allocations: 3.875 kB / 0.8899 GB, free: 11.57 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)