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.8279/0.8279, allocations: 143.3 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 187 kB / 191.5 MB, free: 5.754 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.562/1.562, allocations: 223.2 MB / 447.7 MB, free: 6.562 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.001044/0.001044, allocations: 92.31 kB / 0.5187 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.001751, allocations: 262.4 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 12 kB / 0.6929 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4323, allocations: 82.79 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5866, allocations: 110.6 MB / 0.8818 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.587, allocations: 71.95 kB / 0.8818 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.6009, allocations: 4.487 MB / 0.8862 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6009, allocations: 3.938 kB / 0.8862 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.6009, allocations: 4 kB / 0.8862 GB, free: 6.934 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.001051/0.602, allocations: 0.6323 MB / 0.8868 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6021, allocations: 8.031 kB / 0.8868 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.6021, allocations: 34.56 kB / 0.8869 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.6022, allocations: 31.72 kB / 0.8869 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.6026, allocations: 246.6 kB / 0.8871 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.6027, allocations: 23.94 kB / 0.8872 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.6027, allocations: 20 kB / 0.8872 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.6031, allocations: 141.5 kB / 0.8873 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6031, allocations: 0 / 0.8873 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.6031, allocations: 4 kB / 0.8873 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6031, allocations: 0 / 0.8873 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.6033, allocations: 51.91 kB / 0.8874 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.6037, allocations: 333.2 kB / 0.8877 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.6039, allocations: 130.7 kB / 0.8878 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.604, allocations: 4 kB / 0.8878 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.6044, allocations: 219.5 kB / 0.888 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.6044, allocations: 0 / 0.888 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.000586/0.605, allocations: 266.3 kB / 0.8883 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.6051, allocations: 63.28 kB / 0.8883 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.6053, allocations: 254.1 kB / 0.8886 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.6054, allocations: 37.7 kB / 0.8886 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.6055, allocations: 93.05 kB / 0.8887 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.6055, allocations: 43.58 kB / 0.8888 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6056, allocations: 8 kB / 0.8888 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6057, allocations: 326.8 kB / 0.8891 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.606, allocations: 104.2 kB / 0.8892 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.6063, allocations: 158.9 kB / 0.8893 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.6065, allocations: 153.6 kB / 0.8895 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6066, allocations: 0 / 0.8895 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007895/0.6074, allocations: 427 kB / 0.8899 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.6074, allocations: 77.42 kB / 0.8899 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.6075, allocations: 3.984 kB / 0.89 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6075, allocations: 4 kB / 0.89 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.6076, allocations: 24.11 kB / 0.89 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6077, allocations: 8 kB / 0.89 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.6081, allocations: 55.81 kB / 0.89 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.6082, allocations: 51.98 kB / 0.8901 GB, free: 2.672 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 () * Number of clocked 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.0002078/0.6084, allocations: 179.9 kB / 0.8903 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.6084, allocations: 31.67 kB / 0.8903 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.6085, allocations: 30.19 kB / 0.8903 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6085, allocations: 4 kB / 0.8903 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6085, allocations: 0 / 0.8903 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6085, allocations: 0 / 0.8903 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.6093, allocations: 0.5567 MB / 0.8909 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6093, allocations: 0 / 0.8909 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.6094, allocations: 15.98 kB / 0.8909 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6094, allocations: 0 / 0.8909 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.6094, allocations: 11.98 kB / 0.8909 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6094, allocations: 4 kB / 0.8909 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6095, allocations: 0 / 0.8909 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.6099, allocations: 316.8 kB / 0.8912 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.6101, allocations: 164.5 kB / 0.8914 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.6101, allocations: 11.98 kB / 0.8914 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.6103, allocations: 7.938 kB / 0.8914 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.6104, allocations: 23.97 kB / 0.8914 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.6104, allocations: 27.98 kB / 0.8914 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001742/0.6106, allocations: 209.9 kB / 0.8916 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6106, allocations: 0 / 0.8916 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003251/0.6109, allocations: 51.98 kB / 0.8917 GB, free: 0.9414 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) * Number of clocked states: 0 () * 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.0007193/0.6117, allocations: 0.8778 MB / 0.8925 GB, free: 40 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.6123, allocations: 349.2 kB / 0.8929 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6123, allocations: 0 / 0.8929 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.6124, allocations: 79.8 kB / 0.8929 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.6127, allocations: 20.88 kB / 0.893 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.614, allocations: 1.611 MB / 0.8945 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.6143, allocations: 0.7499 MB / 0.8953 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.6145, allocations: 37.08 kB / 0.8953 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6146, allocations: 43.41 kB / 0.8953 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of SimCode: time 3.3e-07/0.6146, allocations: 0 / 0.8953 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.6311, allocations: 5.371 MB / 0.9006 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.6314, allocations: 206 kB / 0.9008 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.345, allocations: 0 / 0.9008 GB, free: 7.602 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)