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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002413/0.002413, allocations: 283 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.002641, allocations: 96.95 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1677, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002679/0.1704, allocations: 1.518 MB / 0.6951 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1718, allocations: 0.554 MB / 0.6956 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.1718, allocations: 0 / 0.6956 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.172, allocations: 3.938 kB / 0.6956 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1721, allocations: 27.84 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.1728, allocations: 314.8 kB / 0.6959 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.1734, allocations: 0.4934 MB / 0.6964 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.1734, allocations: 11.98 kB / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1738, allocations: 275.6 kB / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.174, allocations: 131.6 kB / 0.6968 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1741, allocations: 32 kB / 0.6969 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.1743, allocations: 31.94 kB / 0.6969 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1744, allocations: 115.7 kB / 0.697 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1746, allocations: 187 kB / 0.6972 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.175, allocations: 423 kB / 0.6976 GB, free: 128 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.175, allocations: 0 / 0.6976 GB, free: 128 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.175, allocations: 0 / 0.6976 GB, free: 128 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1751, allocations: 0 / 0.6976 GB, free: 128 kB / 494.1 MB 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.001285/0.1763, allocations: 0.8703 MB / 0.6984 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1764, allocations: 8.031 kB / 0.6984 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.1765, allocations: 38.73 kB / 0.6985 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1766, allocations: 52.47 kB / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1771, allocations: 306.3 kB / 0.6988 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.1771, allocations: 20.36 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.1772, allocations: 32.3 kB / 0.6989 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.1782, allocations: 210 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1782, allocations: 3.938 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1783, allocations: 4 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1783, allocations: 0 / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.179, allocations: 103.9 kB / 0.6992 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.1796, allocations: 393.2 kB / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1807, allocations: 176.7 kB / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.1815, allocations: 108.7 kB / 0.6998 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1815, allocations: 11.98 kB / 0.6998 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009523/0.1825, allocations: 223.1 kB / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 3.356e-06/0.1825, allocations: 3.984 kB / 0.7 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00248/0.185, allocations: 487.4 kB / 0.7005 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.185, allocations: 55.41 kB / 0.7006 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1854, allocations: 421.8 kB / 0.701 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.1855, allocations: 41.69 kB / 0.701 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.1856, allocations: 97.44 kB / 0.7011 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1857, allocations: 43.53 kB / 0.7011 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1859, allocations: 125.3 kB / 0.7013 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.186, allocations: 322.8 kB / 0.7016 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1863, allocations: 115.9 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1866, allocations: 175.8 kB / 0.7018 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.187, allocations: 275 kB / 0.7021 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.187, allocations: 0 / 0.7021 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008772/0.1879, allocations: 498.1 kB / 0.7026 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.188, allocations: 92.56 kB / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.188, allocations: 0 / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1881, allocations: 4 kB / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1882, allocations: 31.91 kB / 0.7027 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1883, allocations: 12.12 kB / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.1888, allocations: 51.86 kB / 0.7028 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.1889, allocations: 59.98 kB / 0.7028 GB, free: 10.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.000285/0.1892, allocations: 199.9 kB / 0.703 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1892, allocations: 43.41 kB / 0.7031 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.1893, allocations: 43.75 kB / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.1893, allocations: 4 kB / 0.7031 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1893, allocations: 0 / 0.7031 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1894, allocations: 3.984 kB / 0.7031 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.1917, allocations: 0.7441 MB / 0.7038 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1917, allocations: 0 / 0.7038 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.1918, allocations: 4 kB / 0.7038 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1918, allocations: 4 kB / 0.7038 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.1918, allocations: 19.97 kB / 0.7039 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1918, allocations: 0 / 0.7039 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1918, allocations: 0 / 0.7039 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.1936, allocations: 476.7 kB / 0.7043 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.1939, allocations: 204.4 kB / 0.7045 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.1939, allocations: 12 kB / 0.7045 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.1944, allocations: 35.95 kB / 0.7046 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1945, allocations: 11.98 kB / 0.7046 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.1946, allocations: 51.98 kB / 0.7046 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003134/0.1949, allocations: 299.1 kB / 0.7049 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1949, allocations: 0 / 0.7049 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004286/0.1953, allocations: 63.98 kB / 0.705 GB, free: 8.121 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002132/0.1975, allocations: 1.025 MB / 0.706 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.1989, allocations: 448.8 kB / 0.7064 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1989, allocations: 0 / 0.7064 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.1997, allocations: 115.9 kB / 0.7065 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2001, allocations: 29.52 kB / 0.7065 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.2046, allocations: 2.779 MB / 0.7092 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2051, allocations: 0.7669 MB / 0.71 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.2051, allocations: 21.22 kB / 0.71 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.2052, allocations: 27.42 kB / 0.71 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.2052, allocations: 3.938 kB / 0.71 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.2341, allocations: 6.157 MB / 0.7161 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.856, allocations: 4.688 kB / 0.7161 GB, free: 12.57 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)