Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001029/0.001029, allocations: 105.4 kB / 15.7 MB, free: 24 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.001064/0.001064, allocations: 193.2 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001558, allocations: 70.33 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2158, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00289/0.2187, allocations: 1.495 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.2197, allocations: 427.2 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.2198, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.22, allocations: 7.938 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2201, allocations: 28.17 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.2209, allocations: 250.6 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.2213, allocations: 323.5 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.2213, allocations: 7.984 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.2216, allocations: 203.6 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.2219, allocations: 108.1 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.222, allocations: 20 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-05/0.222, allocations: 20 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2221, allocations: 87.7 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2223, allocations: 123.4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.2226, allocations: 295.4 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2226, allocations: 0 / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2226, allocations: 0 / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2226, allocations: 0 / 0.7869 GB, free: 9.91 MB / 0.6075 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.001058/0.2237, allocations: 0.7422 MB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2237, allocations: 12.03 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.2238, allocations: 42.73 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.2239, allocations: 32.66 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2242, allocations: 267.5 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.2242, allocations: 20.11 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2243, allocations: 19.98 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.2251, allocations: 197.5 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2252, allocations: 0 / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2252, allocations: 0 / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2252, allocations: 4 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.2259, allocations: 99.91 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.2262, allocations: 313.3 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/0.2271, allocations: 182.3 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.2278, allocations: 104.8 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2278, allocations: 4 kB / 0.7889 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/0.2287, allocations: 214 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.2287, allocations: 0 / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002205/0.2309, allocations: 453 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2309, allocations: 55.41 kB / 0.7896 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.2312, allocations: 290.9 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.2313, allocations: 45.69 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.2314, allocations: 85.14 kB / 0.79 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2314, allocations: 43.48 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.2316, allocations: 105.3 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.2317, allocations: 322.8 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2318, allocations: 79.95 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2321, allocations: 141.2 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.2324, allocations: 233.2 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2324, allocations: 0 / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006001/0.233, allocations: 399.1 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.233, allocations: 75.39 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2331, allocations: 0 / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2331, allocations: 4 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2332, allocations: 27.91 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2333, allocations: 0 / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.2337, allocations: 63.98 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.2337, allocations: 39.98 kB / 0.7914 GB, free: 4.926 MB / 0.6075 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.0001662/0.2339, allocations: 171.9 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.234, allocations: 23.72 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.234, allocations: 30.23 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.234, allocations: 4 kB / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.234, allocations: 0 / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2341, allocations: 3.984 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2359, allocations: 0.6935 MB / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.236, allocations: 0 / 0.7923 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.236, allocations: 4 kB / 0.7923 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.236, allocations: 0 / 0.7923 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.236, allocations: 27.97 kB / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2361, allocations: 0 / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2361, allocations: 4 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2376, allocations: 450.6 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.2378, allocations: 160.6 kB / 0.7929 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.2378, allocations: 15.98 kB / 0.793 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.2383, allocations: 27.97 kB / 0.793 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.2383, allocations: 11.92 kB / 0.793 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.2384, allocations: 43.98 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001754/0.2385, allocations: 209.9 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2386, allocations: 4 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003074/0.2389, allocations: 51.98 kB / 0.7933 GB, free: 2.918 MB / 0.6075 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.00179/0.2407, allocations: 0.9853 MB / 0.7943 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2417, allocations: 374.5 kB / 0.7946 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2417, allocations: 384 / 0.7946 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.2424, allocations: 111.9 kB / 0.7947 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2428, allocations: 39.8 kB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2461, allocations: 2.377 MB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2464, allocations: 0.7395 MB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.326e-05/0.2464, allocations: 13.09 kB / 0.7978 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.2465, allocations: 27.42 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.2465, allocations: 0 / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.2678, allocations: 4.772 MB / 0.8025 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.731, allocations: 6.594 kB / 0.8025 GB, free: 9.387 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)