Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 187.3 kB / 329.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.449/2.449, allocations: 225.6 MB / 0.6001 GB, free: 2.227 MB / 426.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.0009476/0.0009474, allocations: 103.2 kB / 0.7074 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006013/0.0006015, allocations: 21.3 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.277, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001668/0.2788, allocations: 1.178 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2799, allocations: 403.1 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.2799, allocations: 0 / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.113e-05/0.28, allocations: 7.922 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2801, allocations: 19.92 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.2809, allocations: 211.6 kB / 0.9325 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2813, allocations: 239.5 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.791e-05/0.2813, allocations: 15.97 kB / 0.9328 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.2818, allocations: 223.6 kB / 0.933 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.2821, allocations: 135.7 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.2822, allocations: 8 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.2823, allocations: 12 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2825, allocations: 79.78 kB / 0.9332 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.2826, allocations: 65.58 kB / 0.9333 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2828, allocations: 195.9 kB / 0.9335 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2828, allocations: 3.938 kB / 0.9335 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2828, allocations: 4 kB / 0.9335 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2828, allocations: 0 / 0.9335 GB, free: 22.35 MB / 0.5886 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.001352/0.2842, allocations: 0.6221 MB / 0.9341 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2843, allocations: 12.02 kB / 0.9341 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.2844, allocations: 36.56 kB / 0.9341 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.2847, allocations: 243.9 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.2848, allocations: 20.36 kB / 0.9344 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.2849, allocations: 16.38 kB / 0.9344 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.2853, allocations: 154 kB / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2853, allocations: 192 / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.2854, allocations: 7.922 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2854, allocations: 0 / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2856, allocations: 43.98 kB / 0.9346 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.286, allocations: 317.3 kB / 0.9349 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.2864, allocations: 126.7 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2866, allocations: 56.83 kB / 0.9351 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.2867, allocations: 4 kB / 0.9351 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006239/0.2873, allocations: 219.5 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/0.2873, allocations: 0 / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0008207/0.2882, allocations: 277 kB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2882, allocations: 67.38 kB / 0.9356 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2886, allocations: 283 kB / 0.9359 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.2887, allocations: 37.7 kB / 0.9359 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.2887, allocations: 101.1 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.2888, allocations: 43.44 kB / 0.936 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.2889, allocations: 8 kB / 0.936 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.2889, allocations: 322.8 kB / 0.9364 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.2893, allocations: 92.17 kB / 0.9364 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2896, allocations: 138.4 kB / 0.9366 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.29, allocations: 161.2 kB / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.29, allocations: 0 / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001005/0.291, allocations: 416.5 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.2911, allocations: 75.56 kB / 0.9372 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2911, allocations: 11.94 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2911, allocations: 0 / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2914, allocations: 35.86 kB / 0.9372 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2914, allocations: 0 / 0.9372 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.2924, allocations: 75.8 kB / 0.9373 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/0.2925, allocations: 51.97 kB / 0.9374 GB, free: 18.04 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2927, allocations: 168 kB / 0.9375 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.2928, allocations: 27.7 kB / 0.9376 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.2929, allocations: 30.25 kB / 0.9376 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2929, allocations: 3.938 kB / 0.9376 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2929, allocations: 7.938 kB / 0.9376 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2929, allocations: 7.984 kB / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.2939, allocations: 0.5529 MB / 0.9381 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2939, allocations: 3.938 kB / 0.9381 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.294, allocations: 4 kB / 0.9381 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.294, allocations: 4 kB / 0.9382 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.2941, allocations: 15.97 kB / 0.9382 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2941, allocations: 4 kB / 0.9382 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2941, allocations: 0 / 0.9382 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2946, allocations: 320 kB / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.2949, allocations: 164.5 kB / 0.9386 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.295, allocations: 8 kB / 0.9386 GB, free: 16.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2954, allocations: 19.98 kB / 0.9387 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.2955, allocations: 15.97 kB / 0.9387 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.2955, allocations: 31.98 kB / 0.9387 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002324/0.2958, allocations: 205.9 kB / 0.9389 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2958, allocations: 4 kB / 0.9389 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004373/0.2963, allocations: 48 kB / 0.939 GB, free: 16.31 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.2964, allocations: 129.1 kB / 0.9391 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007261/0.2971, allocations: 338.7 kB / 0.9394 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2972, allocations: 0 / 0.9394 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.2974, allocations: 71.91 kB / 0.9395 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.2978, allocations: 33.17 kB / 0.9395 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.2987, allocations: 450.8 kB / 0.9399 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2989, allocations: 0.7438 MB / 0.9407 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.2992, allocations: 33.44 kB / 0.9407 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2994, allocations: 35.41 kB / 0.9407 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.2994, allocations: 0 / 0.9407 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of Templates: time 0.009444/0.3088, allocations: 3.902 MB / 0.9445 GB, free: 10.52 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)