Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 175.7 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4487/0.4487, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 225.7 MB / 353.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.000805, allocations: 86.66 kB / 425.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 12 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2706, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001236/0.2719, allocations: 1.179 MB / 0.5663 GB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.2727, allocations: 0.7251 MB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2727, allocations: 0.5 kB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.832e-05/0.2728, allocations: 12.42 kB / 0.5671 GB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.2729, allocations: 12.92 kB / 0.5671 GB, free: 40.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.2734, allocations: 224.7 kB / 0.5673 GB, free: 40.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.2736, allocations: 289.4 kB / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.2736, allocations: 11.97 kB / 0.5676 GB, free: 39.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.2739, allocations: 223 kB / 0.5678 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.274, allocations: 115.6 kB / 0.5679 GB, free: 39.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.2741, allocations: 8.656 kB / 0.5679 GB, free: 39.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.2741, allocations: 8.531 kB / 0.5679 GB, free: 39.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2742, allocations: 83.7 kB / 0.568 GB, free: 39.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2744, allocations: 152 kB / 0.5681 GB, free: 39.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.2746, allocations: 277.2 kB / 0.5684 GB, free: 38.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2746, allocations: 0 / 0.5684 GB, free: 38.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2746, allocations: 0 / 0.5684 GB, free: 38.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2746, allocations: 3.938 kB / 0.5684 GB, free: 38.97 MB / 410.7 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.0007896/0.2754, allocations: 0.6057 MB / 0.569 GB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2754, allocations: 12.02 kB / 0.569 GB, free: 38.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.2755, allocations: 31.72 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.2758, allocations: 274.1 kB / 0.5693 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2758, allocations: 15.98 kB / 0.5693 GB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.2758, allocations: 12 kB / 0.5693 GB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2761, allocations: 149.5 kB / 0.5695 GB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2761, allocations: 0 / 0.5695 GB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2761, allocations: 3.984 kB / 0.5695 GB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2761, allocations: 4 kB / 0.5695 GB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2762, allocations: 43.98 kB / 0.5695 GB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.2765, allocations: 317.3 kB / 0.5698 GB, free: 37.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.2767, allocations: 130.6 kB / 0.57 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.2768, allocations: 64.83 kB / 0.57 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2769, allocations: 0 / 0.57 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.2772, allocations: 223.5 kB / 0.5702 GB, free: 36.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2772, allocations: 0 / 0.5702 GB, free: 36.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004379/0.2777, allocations: 261.2 kB / 0.5705 GB, free: 36.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2777, allocations: 63.38 kB / 0.5705 GB, free: 36.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2779, allocations: 294.8 kB / 0.5708 GB, free: 36.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2779, allocations: 41.7 kB / 0.5709 GB, free: 36.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.278, allocations: 85.14 kB / 0.5709 GB, free: 36.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.278, allocations: 47.47 kB / 0.571 GB, free: 36.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.2781, allocations: 8 kB / 0.571 GB, free: 36.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.2781, allocations: 330.8 kB / 0.5713 GB, free: 35.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2783, allocations: 92.17 kB / 0.5714 GB, free: 35.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.2785, allocations: 142.4 kB / 0.5715 GB, free: 35.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2787, allocations: 238.9 kB / 0.5718 GB, free: 35.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2787, allocations: 4 kB / 0.5718 GB, free: 35.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005138/0.2792, allocations: 412.8 kB / 0.5722 GB, free: 34.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.2793, allocations: 79.39 kB / 0.5722 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2793, allocations: 0 / 0.5722 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2793, allocations: 4 kB / 0.5722 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.2795, allocations: 27.91 kB / 0.5723 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2795, allocations: 4 kB / 0.5723 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.28, allocations: 75.8 kB / 0.5723 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.28, allocations: 59.97 kB / 0.5724 GB, free: 34.56 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.2802, allocations: 179.8 kB / 0.5726 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.2802, allocations: 27.62 kB / 0.5726 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.2802, allocations: 26.25 kB / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2802, allocations: 7.938 kB / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2803, allocations: 4 kB / 0.5726 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2803, allocations: 0 / 0.5726 GB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.2808, allocations: 0.5575 MB / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2808, allocations: 0 / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.2809, allocations: 12 kB / 0.5732 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2809, allocations: 0 / 0.5732 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.2809, allocations: 11.98 kB / 0.5732 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2809, allocations: 7.922 kB / 0.5732 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2809, allocations: 0 / 0.5732 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.2812, allocations: 323.1 kB / 0.5735 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.2813, allocations: 156.6 kB / 0.5737 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.2814, allocations: 8 kB / 0.5737 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2816, allocations: 19.86 kB / 0.5737 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2817, allocations: 19.97 kB / 0.5737 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.2817, allocations: 27.98 kB / 0.5737 GB, free: 33.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.2818, allocations: 205.9 kB / 0.5739 GB, free: 32.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2818, allocations: 4 kB / 0.5739 GB, free: 32.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.2821, allocations: 47.98 kB / 0.574 GB, free: 32.84 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.151e-05/0.2822, allocations: 122.9 kB / 0.5741 GB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.2826, allocations: 342.6 kB / 0.5744 GB, free: 32.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2826, allocations: 0 / 0.5744 GB, free: 32.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2827, allocations: 72.19 kB / 0.5745 GB, free: 32.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.283, allocations: 32.81 kB / 0.5745 GB, free: 32.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.2835, allocations: 460.1 kB / 0.575 GB, free: 31.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2837, allocations: 0.7399 MB / 0.5757 GB, free: 31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.2838, allocations: 41.42 kB / 0.5757 GB, free: 30.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2839, allocations: 31.42 kB / 0.5758 GB, free: 30.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2839, allocations: 0 / 0.5758 GB, free: 30.93 MB / 410.7 MB Notification: Performance of Templates: time 0.005411/0.2893, allocations: 3.986 MB / 0.5796 GB, free: 26.95 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)