Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001368/0.001368, allocations: 108 kB / 15.61 MB, free: 152 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.001377/0.001377, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.4/1.4, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.656/1.656, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001353/0.001353, allocations: 62.3 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2054, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003115/0.2086, allocations: 1.492 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2096, allocations: 423.3 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.2097, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2099, allocations: 11.86 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.21, allocations: 24.23 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.2108, allocations: 246.9 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.2111, allocations: 323.5 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.2112, allocations: 15.98 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.2115, allocations: 187.8 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2117, allocations: 116 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.2118, allocations: 20 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.2119, allocations: 16 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.212, allocations: 79.78 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2122, allocations: 127.4 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.2125, allocations: 299.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2125, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2125, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2125, allocations: 3.938 kB / 0.7867 GB, free: 10.04 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.001094/0.2136, allocations: 0.7461 MB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2137, allocations: 12.03 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.2137, allocations: 38.73 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2138, allocations: 32.66 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.2142, allocations: 259.6 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.2142, allocations: 20.12 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.2143, allocations: 16 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.2153, allocations: 205.4 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2153, allocations: 3.938 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.2154, allocations: 3.984 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2154, allocations: 11.88 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.2161, allocations: 95.92 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.2165, allocations: 321.3 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2175, allocations: 166.4 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/0.2182, allocations: 112.8 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2183, allocations: 4 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009717/0.2193, allocations: 211.1 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/0.2193, allocations: 0 / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002511/0.2218, allocations: 445 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.2219, allocations: 63.41 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.2221, allocations: 290.9 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.2222, allocations: 41.69 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.2223, allocations: 89.14 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.2223, allocations: 39.53 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2225, allocations: 101.4 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.2226, allocations: 322.8 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.2228, allocations: 79.94 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.223, allocations: 141.9 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.2233, allocations: 243.8 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2234, allocations: 3.938 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006759/0.224, allocations: 395.6 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.2241, allocations: 74.05 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.2242, allocations: 11.97 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2242, allocations: 4.188 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2243, allocations: 27.92 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2244, allocations: 4 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.2248, allocations: 59.73 kB / 0.7912 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.2249, allocations: 39.98 kB / 0.7913 GB, free: 5.035 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.0001846/0.2251, allocations: 175.2 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.2252, allocations: 27.7 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.2252, allocations: 30.3 kB / 0.7915 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2252, allocations: 0 / 0.7915 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2252, allocations: 0 / 0.7915 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2252, allocations: 0 / 0.7915 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.2273, allocations: 0.6895 MB / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2273, allocations: 0 / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.2273, allocations: 11.92 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2274, allocations: 4 kB / 0.7922 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.2274, allocations: 11.98 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2274, allocations: 0 / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2274, allocations: 11.97 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.229, allocations: 446.9 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.2292, allocations: 172.6 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.2293, allocations: 8 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2297, allocations: 35.97 kB / 0.7928 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2298, allocations: 11.92 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.2298, allocations: 39.97 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001675/0.23, allocations: 217.9 kB / 0.7931 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.23, allocations: 0 / 0.7931 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003098/0.2303, allocations: 44 kB / 0.7931 GB, free: 3.031 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.001913/0.2322, allocations: 0.9949 MB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.2334, allocations: 386.9 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2334, allocations: 0 / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.2341, allocations: 112.2 kB / 0.7946 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2344, allocations: 34.45 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.2376, allocations: 2.38 MB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2379, allocations: 0.7357 MB / 0.7977 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.697e-05/0.2379, allocations: 17.08 kB / 0.7977 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.238, allocations: 23.42 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.238, allocations: 0 / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.2573, allocations: 4.771 MB / 0.8024 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.344, allocations: 14.77 kB / 0.8024 GB, free: 9.465 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)