Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 110 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 195.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.152/2.152, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 71.27 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2368, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002317/0.2391, allocations: 1.508 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2402, allocations: 0.5541 MB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.2402, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.342e-05/0.2403, allocations: 7.875 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.2404, allocations: 31.84 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.241, allocations: 307.1 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.2415, allocations: 0.5071 MB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.2415, allocations: 12 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.2418, allocations: 271.7 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.242, allocations: 140.4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.2421, allocations: 28 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.2422, allocations: 24 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2423, allocations: 115.7 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2425, allocations: 187 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2428, allocations: 426.6 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2428, allocations: 8 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2429, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.2429, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 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.00104/0.2439, allocations: 0.8625 MB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.2439, allocations: 8.922 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.244, allocations: 52.47 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2444, allocations: 306.2 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.2445, allocations: 24.36 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.2445, allocations: 28.38 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.2453, allocations: 217.9 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2454, allocations: 4.188 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2454, allocations: 3.938 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2454, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.246, allocations: 99.92 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.2464, allocations: 385.3 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.2473, allocations: 174.4 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.2479, allocations: 116.8 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.248, allocations: 4 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007602/0.2487, allocations: 236.8 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2487, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002124/0.2509, allocations: 477 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2509, allocations: 63.39 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.2513, allocations: 409.8 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.2513, allocations: 41.69 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.2514, allocations: 93.45 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.2514, allocations: 35.55 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2516, allocations: 133.3 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2517, allocations: 330.8 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.252, allocations: 119.9 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2522, allocations: 166.9 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.2526, allocations: 274.8 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2526, allocations: 0 / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007209/0.2533, allocations: 0.4909 MB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.2534, allocations: 95.34 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2534, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2534, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2536, allocations: 19.92 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2536, allocations: 4 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.254, allocations: 55.8 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.2541, allocations: 67.97 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001973/0.2543, allocations: 192 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.2544, allocations: 39.47 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.2544, allocations: 43.73 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2544, allocations: 4 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2545, allocations: 0 / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2545, allocations: 0 / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.2564, allocations: 0.7503 MB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2564, allocations: 0 / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.2564, allocations: 7.984 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2564, allocations: 0 / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.2565, allocations: 15.98 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2565, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2565, allocations: 7.938 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2579, allocations: 471.3 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.2582, allocations: 204.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.2583, allocations: 11.98 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.2587, allocations: 27.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2587, allocations: 15.92 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.2588, allocations: 51.98 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002637/0.2591, allocations: 295.1 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2591, allocations: 0 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003087/0.2594, allocations: 71.98 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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 0.00012/0.2595, allocations: 116.5 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.2606, allocations: 444.5 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2606, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.2613, allocations: 120.3 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2616, allocations: 33.42 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2628, allocations: 0.5478 MB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2631, allocations: 0.7708 MB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.2632, allocations: 21.06 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.2632, allocations: 15.44 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2632, allocations: 3.938 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.007334/0.2706, allocations: 4.932 MB / 1.037 GB, free: 6.637 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches