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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.362/2.362, allocations: 255 MB / 269.9 MB, free: 9.637 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.001388/0.001388, allocations: 193.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.711/2.711, allocations: 225.6 MB / 0.6001 GB, free: 2.168 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.00096/0.0009598, allocations: 99.61 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 10.28 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2015, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001704/0.2033, allocations: 1.178 MB / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2044, allocations: 407.1 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.2045, allocations: 0 / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.974e-05/0.2046, allocations: 7.922 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2047, allocations: 19.92 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.2055, allocations: 211.6 kB / 0.9325 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.2059, allocations: 247.5 kB / 0.9328 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.2059, allocations: 4 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.2063, allocations: 223.6 kB / 0.933 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.2066, allocations: 135.7 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.2068, allocations: 8 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.2069, allocations: 8 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.207, allocations: 75.78 kB / 0.9332 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.2071, allocations: 73.58 kB / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2073, allocations: 195.9 kB / 0.9334 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2074, allocations: 3.938 kB / 0.9335 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2074, allocations: 3.938 kB / 0.9335 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2074, allocations: 0 / 0.9335 GB, free: 22.34 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.001363/0.2087, allocations: 0.6143 MB / 0.9341 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2088, allocations: 16.02 kB / 0.9341 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2089, allocations: 36.56 kB / 0.9341 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.2093, allocations: 251.9 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.2093, allocations: 12.36 kB / 0.9344 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.2094, allocations: 20.38 kB / 0.9344 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2098, allocations: 150 kB / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2099, allocations: 192 / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.2099, allocations: 15.92 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2099, allocations: 0 / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2101, allocations: 47.97 kB / 0.9346 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.2105, allocations: 309.3 kB / 0.9349 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.211, allocations: 126.7 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2112, allocations: 56.83 kB / 0.9351 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2112, allocations: 4 kB / 0.9351 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.2118, allocations: 219.5 kB / 0.9353 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 3.747e-06/0.2119, allocations: 3.984 kB / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.000825/0.2127, allocations: 273 kB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2128, allocations: 67.38 kB / 0.9356 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2131, allocations: 287 kB / 0.9359 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.2132, allocations: 37.7 kB / 0.9359 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.2133, allocations: 93.14 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.2133, allocations: 51.38 kB / 0.936 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.2134, allocations: 8 kB / 0.936 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.2135, allocations: 322.8 kB / 0.9364 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.2138, allocations: 92.17 kB / 0.9364 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.2142, allocations: 155.4 kB / 0.9366 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2145, allocations: 149.2 kB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2145, allocations: 0 / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001008/0.2156, allocations: 416.6 kB / 0.9371 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.2156, allocations: 79.38 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2157, allocations: 0 / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2157, allocations: 4 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.216, allocations: 27.86 kB / 0.9372 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.216, allocations: 4 kB / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.2169, allocations: 71.98 kB / 0.9373 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.217, allocations: 63.95 kB / 0.9374 GB, free: 18.03 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.0002376/0.2173, allocations: 167.9 kB / 0.9375 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.2173, allocations: 23.72 kB / 0.9376 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.2174, allocations: 38.25 kB / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2174, allocations: 3.938 kB / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2175, allocations: 0 / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2175, allocations: 7.922 kB / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2185, allocations: 0.5568 MB / 0.9381 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2185, allocations: 3.938 kB / 0.9382 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.2186, allocations: 4 kB / 0.9382 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2186, allocations: 0 / 0.9382 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.2187, allocations: 15.97 kB / 0.9382 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2187, allocations: 4 kB / 0.9382 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2187, allocations: 3.938 kB / 0.9382 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.2193, allocations: 316 kB / 0.9385 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.2195, allocations: 164.5 kB / 0.9386 GB, free: 16.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.2196, allocations: 8 kB / 0.9386 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.22, allocations: 11.98 kB / 0.9387 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.2201, allocations: 19.97 kB / 0.9387 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.2201, allocations: 31.98 kB / 0.9387 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002344/0.2204, allocations: 209.9 kB / 0.9389 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2204, allocations: 0 / 0.9389 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004414/0.2208, allocations: 48 kB / 0.9389 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.0001625/0.221, allocations: 125.6 kB / 0.9391 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007505/0.2218, allocations: 343 kB / 0.9394 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2218, allocations: 4.062 kB / 0.9394 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.222, 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.0004593/0.2225, allocations: 28.8 kB / 0.9395 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.2234, 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.0002144/0.2237, allocations: 0.7438 MB / 0.9407 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.2239, allocations: 41.42 kB / 0.9407 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2241, allocations: 39.41 kB / 0.9407 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of SimCode: time 2.374e-06/0.2241, allocations: 0 / 0.9407 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.01026/0.2344, allocations: 3.904 MB / 0.9445 GB, free: 10.5 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)