Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001223/0.001223, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.03 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2227, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002306/0.225, allocations: 1.517 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2261, allocations: 0.5462 MB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.2261, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.646e-05/0.2262, allocations: 11.88 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.2263, allocations: 19.86 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.2269, allocations: 315.3 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.2274, allocations: 0.4994 MB / 0.954 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2274, allocations: 11.98 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2277, allocations: 271.6 kB / 0.9542 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.228, allocations: 143.6 kB / 0.9544 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.228, allocations: 24 kB / 0.9544 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.2281, allocations: 28 kB / 0.9544 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2282, allocations: 115.7 kB / 0.9545 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2284, allocations: 183 kB / 0.9547 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.2287, allocations: 430.6 kB / 0.9551 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2287, allocations: 0 / 0.9551 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2287, allocations: 3.938 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2287, allocations: 3.938 kB / 0.9551 GB, free: 3.957 MB / 0.7325 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.001027/0.2298, allocations: 0.8548 MB / 0.9559 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.2298, allocations: 15.97 kB / 0.956 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2299, allocations: 48.47 kB / 0.956 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2303, allocations: 318.2 kB / 0.9563 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.2304, allocations: 28.36 kB / 0.9563 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.2304, allocations: 20.38 kB / 0.9564 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008197/0.2312, allocations: 214 kB / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2313, allocations: 192 / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2313, allocations: 7.938 kB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2313, allocations: 4 kB / 0.9566 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.2319, allocations: 107.9 kB / 0.9567 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2323, allocations: 381.3 kB / 0.957 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.2332, allocations: 182.4 kB / 0.9572 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.2338, allocations: 108.8 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2338, allocations: 0 / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007789/0.2346, allocations: 233.4 kB / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2346, allocations: 0 / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002126/0.2367, allocations: 484.9 kB / 0.958 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2368, allocations: 59.39 kB / 0.9581 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.2371, allocations: 413.8 kB / 0.9585 GB, free: 312 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.2372, allocations: 41.69 kB / 0.9585 GB, free: 264 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.2373, allocations: 93.45 kB / 0.9586 GB, free: 168 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2373, allocations: 35.53 kB / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.2375, allocations: 133.4 kB / 0.9587 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.2376, allocations: 318.8 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2378, allocations: 119.9 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.2381, allocations: 175.8 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.2384, allocations: 280.2 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2384, allocations: 0 / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000703/0.2391, allocations: 496.6 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.2392, allocations: 91.31 kB / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2392, allocations: 4 kB / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2392, allocations: 0 / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2394, allocations: 19.98 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2394, allocations: 7.938 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.2398, allocations: 59.73 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.2399, allocations: 64.06 kB / 0.9603 GB, free: 14.3 MB / 0.7481 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.0001802/0.2401, allocations: 192 kB / 0.9605 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.2401, allocations: 39.47 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.2402, allocations: 43.67 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2402, allocations: 7.938 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2402, allocations: 0 / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2402, allocations: 0 / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2421, allocations: 0.7393 MB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2421, allocations: 3.984 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.2421, allocations: 11.92 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2421, allocations: 4 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.2422, allocations: 23.98 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2422, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2422, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2436, allocations: 475.2 kB / 0.9618 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.2439, allocations: 200.5 kB / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.2439, allocations: 19.98 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.2443, allocations: 23.97 kB / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2444, allocations: 11.98 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.2444, allocations: 59.92 kB / 0.9621 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002393/0.2447, allocations: 295.1 kB / 0.9624 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2447, allocations: 0 / 0.9624 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003052/0.245, allocations: 67.98 kB / 0.9624 GB, free: 12 MB / 0.7481 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.0001121/0.2451, allocations: 119.7 kB / 0.9626 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2462, allocations: 438.5 kB / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2463, allocations: 384 / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.2469, allocations: 126.5 kB / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2473, allocations: 31.73 kB / 0.9631 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2486, allocations: 0.5478 MB / 0.9637 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.249, allocations: 0.7746 MB / 0.9644 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.249, allocations: 13.08 kB / 0.9644 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2491, allocations: 11.44 kB / 0.9644 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of SimCode: time 2.525e-06/0.2491, allocations: 4 kB / 0.9644 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of Templates: time 0.007293/0.2564, allocations: 4.929 MB / 0.9693 GB, free: 4.844 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches