Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.9815/0.9815, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.001191/0.001191, allocations: 185 kB / 191.5 MB, free: 5.766 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.693/1.693, allocations: 223.2 MB / 447.7 MB, free: 4.852 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.0009447/0.0009447, allocations: 92.33 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.0017, allocations: 273.6 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005967/0.0005965, allocations: 14.25 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1949, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6013/0.7963, allocations: 110.6 MB / 0.8817 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.7966, allocations: 71.55 kB / 0.8818 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.8099, allocations: 4.494 MB / 0.8862 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8099, allocations: 0 / 0.8862 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.8099, allocations: 3.469 kB / 0.8862 GB, free: 31.24 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.0008969/0.8108, allocations: 0.622 MB / 0.8868 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8109, allocations: 8.469 kB / 0.8868 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.8109, allocations: 39.62 kB / 0.8869 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.811, allocations: 34.72 kB / 0.8869 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.8114, allocations: 247.8 kB / 0.8871 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.8114, allocations: 15.61 kB / 0.8871 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.8115, allocations: 19.33 kB / 0.8872 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.8118, allocations: 144.8 kB / 0.8873 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8118, allocations: 4.609 kB / 0.8873 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.8118, allocations: 3.125 kB / 0.8873 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8119, allocations: 0.7969 kB / 0.8873 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.812, allocations: 47.66 kB / 0.8874 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.8124, allocations: 336.3 kB / 0.8877 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.8127, allocations: 129.8 kB / 0.8878 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.8127, allocations: 8.375 kB / 0.8878 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.8132, allocations: 214.7 kB / 0.888 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.8132, allocations: 0 / 0.888 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006095/0.8138, allocations: 272.8 kB / 0.8883 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8139, allocations: 66.09 kB / 0.8883 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.8141, allocations: 253.3 kB / 0.8886 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.8142, allocations: 38.05 kB / 0.8886 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.8142, allocations: 96 kB / 0.8887 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.8143, allocations: 39.47 kB / 0.8887 GB, free: 29.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.8143, allocations: 9.156 kB / 0.8888 GB, free: 29.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.8144, allocations: 324.9 kB / 0.8891 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.8147, allocations: 108.8 kB / 0.8892 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.815, allocations: 153 kB / 0.8893 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.8152, allocations: 152.4 kB / 0.8895 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8152, allocations: 7.938 kB / 0.8895 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007394/0.816, allocations: 430.7 kB / 0.8899 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.8161, allocations: 73.53 kB / 0.8899 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8161, allocations: 1.375 kB / 0.8899 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8161, allocations: 2.75 kB / 0.89 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.8163, allocations: 32.64 kB / 0.89 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8163, allocations: 7.984 kB / 0.89 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.8167, allocations: 50.88 kB / 0.89 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.8168, allocations: 53.78 kB / 0.8901 GB, free: 29.07 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.0001831/0.817, allocations: 174 kB / 0.8903 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.817, allocations: 28.7 kB / 0.8903 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.8171, allocations: 31.11 kB / 0.8903 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8171, allocations: 1.375 kB / 0.8903 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.8171, allocations: 2.078 kB / 0.8903 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8171, allocations: 0.7969 kB / 0.8903 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.8179, allocations: 0.5571 MB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8179, allocations: 0.7969 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.818, allocations: 9.344 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.818, allocations: 0.6562 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.818, allocations: 13.84 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.818, allocations: 6.75 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.818, allocations: 0.5156 kB / 0.8909 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.8184, allocations: 311.5 kB / 0.8912 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.8186, allocations: 166.2 kB / 0.8913 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.8187, allocations: 14.86 kB / 0.8914 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.8189, allocations: 8.75 kB / 0.8914 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.8189, allocations: 18.83 kB / 0.8914 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.819, allocations: 31.83 kB / 0.8914 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001664/0.8191, allocations: 211.4 kB / 0.8916 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8191, allocations: 0 / 0.8916 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003236/0.8195, allocations: 49.88 kB / 0.8917 GB, free: 28.25 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.001508/0.821, allocations: 0.8841 MB / 0.8925 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.8216, allocations: 349.6 kB / 0.8929 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.8216, allocations: 0 / 0.8929 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.8218, allocations: 77.84 kB / 0.8929 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.822, allocations: 18.59 kB / 0.893 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.8236, allocations: 1.609 MB / 0.8945 GB, free: 42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.824, allocations: 0.7466 MB / 0.8953 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.8242, allocations: 34.02 kB / 0.8953 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.8243, allocations: 51.58 kB / 0.8953 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.8243, allocations: 3.938 kB / 0.8953 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.8455, allocations: 5.363 MB / 0.9006 GB, free: 40.74 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.8457, allocations: 199.8 kB / 0.9008 GB, free: 40.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.546, allocations: 0 / 0.9008 GB, free: 40.5 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)