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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.565/2.565, 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.001534/0.001534, allocations: 187.3 kB / 329.5 MB, free: 1.16 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.801/2.801, allocations: 225.6 MB / 0.6001 GB, free: 2.238 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.0009637/0.0009636, allocations: 94.44 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007326/0.0007331, allocations: 11.28 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2071, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001679/0.2088, allocations: 1.181 MB / 0.9319 GB, free: 23.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2099, allocations: 403.1 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.21, allocations: 3.938 kB / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.899e-05/0.2101, allocations: 3.984 kB / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2102, allocations: 23.86 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.211, allocations: 215.6 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.2113, allocations: 239.5 kB / 0.9328 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.2114, allocations: 11.98 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.2118, allocations: 215.6 kB / 0.933 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2121, allocations: 135.7 kB / 0.9331 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.2122, allocations: 16 kB / 0.9331 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.2123, allocations: 8 kB / 0.9331 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2124, allocations: 83.78 kB / 0.9332 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.759e-05/0.2125, allocations: 61.64 kB / 0.9333 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.2127, allocations: 203.8 kB / 0.9335 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2127, allocations: 0 / 0.9335 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2128, allocations: 3.938 kB / 0.9335 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2128, allocations: 0 / 0.9335 GB, free: 22.37 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.001309/0.2141, allocations: 0.6183 MB / 0.9341 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2141, allocations: 8.031 kB / 0.9341 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2143, allocations: 40.55 kB / 0.9341 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.2146, allocations: 247.9 kB / 0.9344 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.2147, allocations: 16.36 kB / 0.9344 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.2148, allocations: 12.38 kB / 0.9344 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.2152, allocations: 154.1 kB / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2152, allocations: 192 / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.2152, allocations: 7.875 kB / 0.9345 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2153, allocations: 8 kB / 0.9345 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2155, allocations: 43.97 kB / 0.9346 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2159, allocations: 313.3 kB / 0.9349 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.2163, allocations: 126.7 kB / 0.935 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2165, allocations: 64.77 kB / 0.9351 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2165, allocations: 4 kB / 0.9351 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/0.2171, allocations: 211.6 kB / 0.9353 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.2171, allocations: 0 / 0.9353 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007946/0.2179, allocations: 277 kB / 0.9355 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.218, allocations: 63.39 kB / 0.9356 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2183, allocations: 287 kB / 0.9359 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.2184, allocations: 41.7 kB / 0.9359 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2185, allocations: 85.14 kB / 0.936 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.2185, allocations: 51.39 kB / 0.936 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.2186, allocations: 7.984 kB / 0.936 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.2187, allocations: 326.8 kB / 0.9364 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.219, allocations: 92.19 kB / 0.9364 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2194, allocations: 147.5 kB / 0.9366 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.2197, allocations: 157.9 kB / 0.9367 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2197, allocations: 4 kB / 0.9367 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009549/0.2207, allocations: 412.6 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.2207, allocations: 71.39 kB / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2208, allocations: 0 / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2208, allocations: 7.984 kB / 0.9372 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2211, allocations: 31.86 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2211, allocations: 4 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.222, allocations: 71.98 kB / 0.9373 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.2221, allocations: 51.97 kB / 0.9374 GB, free: 18.08 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.0002411/0.2224, allocations: 176.5 kB / 0.9375 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.2225, allocations: 23.72 kB / 0.9376 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.2225, allocations: 30.25 kB / 0.9376 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2226, allocations: 7.938 kB / 0.9376 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2226, allocations: 0 / 0.9376 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2226, allocations: 7.922 kB / 0.9376 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.2236, allocations: 0.5536 MB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2236, allocations: 3.938 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.2237, allocations: 15.98 kB / 0.9382 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2237, allocations: 0 / 0.9382 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.2238, allocations: 19.97 kB / 0.9382 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2238, allocations: 0 / 0.9382 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2238, allocations: 0 / 0.9382 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.2243, allocations: 319.1 kB / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.2246, allocations: 164.5 kB / 0.9386 GB, free: 16.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.2246, allocations: 8 kB / 0.9386 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.225, allocations: 19.98 kB / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2251, allocations: 15.97 kB / 0.9387 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.2252, allocations: 31.98 kB / 0.9387 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002305/0.2254, allocations: 205.9 kB / 0.9389 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2254, allocations: 0 / 0.9389 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004641/0.2259, allocations: 48 kB / 0.939 GB, free: 16.34 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.0001495/0.226, allocations: 119.1 kB / 0.9391 GB, free: 16.22 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007315/0.2268, allocations: 350.6 kB / 0.9394 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2268, allocations: 0 / 0.9394 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.227, allocations: 71.91 kB / 0.9395 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2275, allocations: 24.81 kB / 0.9395 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.2283, allocations: 455.1 kB / 0.9399 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2286, allocations: 0.7428 MB / 0.9407 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.2288, allocations: 41.42 kB / 0.9407 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.229, allocations: 39.41 kB / 0.9407 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.229, allocations: 0 / 0.9407 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.009466/0.2385, allocations: 3.898 MB / 0.9445 GB, free: 10.55 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)