Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000841/0.0008411, allocations: 175.8 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.4831/0.4831, allocations: 89.08 MB / 105.9 MB, free: 12.45 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.285/1.285, allocations: 225.7 MB / 353.3 MB, free: 1.094 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.0007294/0.0007294, allocations: 96.02 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2845, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001181/0.2857, allocations: 1.184 MB / 0.5663 GB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.2864, allocations: 0.7298 MB / 0.567 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.2865, allocations: 0 / 0.567 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.2866, allocations: 7.875 kB / 0.5671 GB, free: 40.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.2867, allocations: 24.22 kB / 0.5671 GB, free: 40.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.2872, allocations: 225.8 kB / 0.5673 GB, free: 40.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2874, allocations: 283.9 kB / 0.5676 GB, free: 39.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.2874, allocations: 12.64 kB / 0.5676 GB, free: 39.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.2877, allocations: 214.3 kB / 0.5678 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2878, allocations: 120.6 kB / 0.5679 GB, free: 39.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.2879, allocations: 12 kB / 0.5679 GB, free: 39.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.2879, allocations: 10.88 kB / 0.5679 GB, free: 39.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.288, allocations: 79.72 kB / 0.568 GB, free: 39.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2882, allocations: 149 kB / 0.5681 GB, free: 39.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2884, allocations: 273.2 kB / 0.5684 GB, free: 38.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2884, allocations: 0 / 0.5684 GB, free: 38.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2884, allocations: 0 / 0.5684 GB, free: 38.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2884, allocations: 3.938 kB / 0.5684 GB, free: 38.98 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.0007767/0.2892, allocations: 0.614 MB / 0.569 GB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2892, allocations: 11.97 kB / 0.569 GB, free: 38.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.2893, allocations: 27.72 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.2895, allocations: 266.2 kB / 0.5693 GB, free: 37.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2896, allocations: 12 kB / 0.5693 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.2896, allocations: 19.98 kB / 0.5693 GB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.2898, allocations: 149.5 kB / 0.5695 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2899, allocations: 0 / 0.5695 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2899, allocations: 0 / 0.5695 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2899, allocations: 3.984 kB / 0.5695 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.29, allocations: 55.91 kB / 0.5695 GB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.2902, allocations: 313.3 kB / 0.5698 GB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2905, allocations: 130.7 kB / 0.5699 GB, free: 37.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.2906, allocations: 52.84 kB / 0.57 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2906, allocations: 7.984 kB / 0.57 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.291, allocations: 223.4 kB / 0.5702 GB, free: 36.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.291, allocations: 0 / 0.5702 GB, free: 36.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004472/0.2914, allocations: 273.1 kB / 0.5705 GB, free: 36.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2915, allocations: 59.41 kB / 0.5705 GB, free: 36.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2917, allocations: 290.8 kB / 0.5708 GB, free: 36.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2917, allocations: 41.69 kB / 0.5709 GB, free: 36.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2918, allocations: 89.14 kB / 0.5709 GB, free: 36.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2918, allocations: 47.47 kB / 0.571 GB, free: 36.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.2918, allocations: 12 kB / 0.571 GB, free: 36.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.2919, allocations: 322.8 kB / 0.5713 GB, free: 35.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2921, allocations: 96.17 kB / 0.5714 GB, free: 35.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2923, allocations: 142.3 kB / 0.5715 GB, free: 35.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.2925, allocations: 247.4 kB / 0.5718 GB, free: 35.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2925, allocations: 0 / 0.5718 GB, free: 35.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005159/0.293, allocations: 414.9 kB / 0.5722 GB, free: 34.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.2931, allocations: 75.39 kB / 0.5722 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2931, allocations: 4 kB / 0.5722 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2931, allocations: 8 kB / 0.5722 GB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2933, allocations: 27.91 kB / 0.5723 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2933, allocations: 0 / 0.5723 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.2938, allocations: 75.95 kB / 0.5723 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.2938, allocations: 51.98 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.0001163/0.2939, allocations: 177.3 kB / 0.5726 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.294, allocations: 31.61 kB / 0.5726 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.294, allocations: 30.25 kB / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.294, allocations: 8 kB / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.294, allocations: 0 / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2941, allocations: 0 / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.2946, allocations: 0.5529 MB / 0.5732 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2946, allocations: 0 / 0.5732 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2947, allocations: 11.98 kB / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2947, allocations: 0 / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2947, allocations: 7.984 kB / 0.5732 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2947, allocations: 7.938 kB / 0.5732 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2947, allocations: 4 kB / 0.5732 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.295, allocations: 319.9 kB / 0.5735 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2951, allocations: 160.6 kB / 0.5737 GB, free: 33.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.2952, allocations: 11.98 kB / 0.5737 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2954, allocations: 15.92 kB / 0.5737 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2955, allocations: 15.98 kB / 0.5737 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.2955, allocations: 27.98 kB / 0.5737 GB, free: 33.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.2956, allocations: 209.9 kB / 0.5739 GB, free: 32.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2956, allocations: 0 / 0.5739 GB, free: 32.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000255/0.2959, allocations: 52 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 8.387e-05/0.296, allocations: 115.2 kB / 0.5741 GB, free: 32.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.2964, allocations: 342.6 kB / 0.5744 GB, free: 32.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2964, allocations: 384 / 0.5744 GB, free: 32.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2965, allocations: 79.81 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.0002758/0.2968, allocations: 28.8 kB / 0.5745 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.2973, allocations: 458.9 kB / 0.575 GB, free: 31.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2974, allocations: 0.7438 MB / 0.5757 GB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.2976, allocations: 41.36 kB / 0.5757 GB, free: 30.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2977, allocations: 31.42 kB / 0.5757 GB, free: 30.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2977, allocations: 0 / 0.5757 GB, free: 30.93 MB / 410.7 MB Notification: Performance of Templates: time 0.005393/0.3031, allocations: 3.983 MB / 0.5796 GB, free: 26.96 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)