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.005139/0.005139, allocations: 99.23 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 190.5 kB / 16.68 MB, free: 5.523 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002777/0.002777, allocations: 287.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 178.6 MB / 0.5074 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 95.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4582, allocations: 89.12 MB / 0.7813 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002265/0.4605, allocations: 1.529 MB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4618, allocations: 0.5464 MB / 0.7833 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.4619, allocations: 1.188 kB / 0.7833 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.462, allocations: 7.875 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.4621, allocations: 27.34 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.4629, allocations: 311.7 kB / 0.7837 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.4634, allocations: 0.5025 MB / 0.7842 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.4635, allocations: 4.875 kB / 0.7842 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.4638, allocations: 275.8 kB / 0.7844 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.4641, allocations: 139.2 kB / 0.7846 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.4642, allocations: 27.66 kB / 0.7846 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.4643, allocations: 25.75 kB / 0.7846 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4644, allocations: 119.8 kB / 0.7847 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.4647, allocations: 183.3 kB / 0.7849 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.4651, allocations: 428.9 kB / 0.7853 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4651, allocations: 0 / 0.7853 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4651, allocations: 0 / 0.7853 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4651, allocations: 1.125 kB / 0.7853 GB, free: 14.3 MB / 0.5606 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.001295/0.4664, allocations: 0.8778 MB / 0.7862 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4665, allocations: 9.656 kB / 0.7862 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.4665, allocations: 40.98 kB / 0.7862 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4667, allocations: 50.14 kB / 0.7863 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.4671, allocations: 326.1 kB / 0.7866 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.4671, allocations: 14.52 kB / 0.7866 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.4672, allocations: 26.47 kB / 0.7866 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.4681, allocations: 210.1 kB / 0.7868 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4682, allocations: 3.938 kB / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4682, allocations: 1.156 kB / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4682, allocations: 2.312 kB / 0.7868 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.469, allocations: 103.4 kB / 0.7869 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.4694, allocations: 395.7 kB / 0.7873 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4705, allocations: 189.2 kB / 0.7875 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.4712, allocations: 107.7 kB / 0.7876 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4713, allocations: 6.031 kB / 0.7876 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009087/0.4722, allocations: 224.8 kB / 0.7878 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.4722, allocations: 0 / 0.7878 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002548/0.4748, allocations: 492.3 kB / 0.7883 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4748, allocations: 59.98 kB / 0.7883 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.4753, allocations: 414.2 kB / 0.7887 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.4753, allocations: 41.78 kB / 0.7888 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.4754, allocations: 91.77 kB / 0.7889 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.4755, allocations: 41.64 kB / 0.7889 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.4757, allocations: 131.4 kB / 0.789 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4758, allocations: 321.8 kB / 0.7893 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4761, allocations: 116.9 kB / 0.7894 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.4764, allocations: 166.4 kB / 0.7896 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.4768, allocations: 282.9 kB / 0.7899 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4768, allocations: 1.188 kB / 0.7899 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009996/0.4778, allocations: 493.8 kB / 0.7903 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.4779, allocations: 90.81 kB / 0.7904 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4779, allocations: 1.438 kB / 0.7904 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.478, allocations: 2.688 kB / 0.7904 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.4782, allocations: 26.83 kB / 0.7905 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4782, allocations: 2.844 kB / 0.7905 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.4787, allocations: 58.84 kB / 0.7905 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4788, allocations: 59.44 kB / 0.7906 GB, free: 10.44 MB / 0.5606 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.0002808/0.4791, allocations: 198.7 kB / 0.7908 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.4792, allocations: 45.34 kB / 0.7908 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.4793, allocations: 39.14 kB / 0.7908 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4793, allocations: 6.141 kB / 0.7908 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4793, allocations: 4 kB / 0.7908 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.4793, allocations: 1.188 kB / 0.7908 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.4817, allocations: 0.7493 MB / 0.7916 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4817, allocations: 1.125 kB / 0.7916 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.4817, allocations: 8.172 kB / 0.7916 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4818, allocations: 4 kB / 0.7916 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.4818, allocations: 20.17 kB / 0.7916 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4818, allocations: 1.125 kB / 0.7916 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4819, allocations: 0 / 0.7916 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4837, allocations: 477.9 kB / 0.7921 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.4839, allocations: 199.3 kB / 0.7923 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.484, allocations: 13.39 kB / 0.7923 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.4845, allocations: 32.22 kB / 0.7923 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.4845, allocations: 8.422 kB / 0.7923 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.4846, allocations: 56.61 kB / 0.7924 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000341/0.485, allocations: 298.3 kB / 0.7926 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.485, allocations: 4 kB / 0.7927 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003883/0.4854, allocations: 66.45 kB / 0.7927 GB, free: 9.012 MB / 0.5606 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.00212/0.4875, allocations: 1.027 MB / 0.7937 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.4888, allocations: 439.8 kB / 0.7941 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4888, allocations: 6.125 kB / 0.7941 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.4895, allocations: 116.8 kB / 0.7943 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4899, allocations: 25.42 kB / 0.7943 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.4941, allocations: 2.798 MB / 0.797 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.4945, allocations: 0.7713 MB / 0.7978 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.4946, allocations: 13.33 kB / 0.7978 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.4947, allocations: 24.92 kB / 0.7978 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of SimCode: time 2.404e-06/0.4947, allocations: 1.375 kB / 0.7978 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.5231, allocations: 6.16 MB / 0.8038 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.76, allocations: 13.52 kB / 0.8038 GB, free: 1.133 MB / 0.5606 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)