Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 165.3 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.163/3.163, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.057e-05, allocations: 0 / 0.8775 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/4.415e-05, allocations: 5.922 kB / 0.8775 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00431/0.004354, allocations: 1.525 MB / 0.879 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.006594, allocations: 0.5301 MB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.006656, allocations: 0.6875 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.006791, allocations: 16.02 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.006963, allocations: 28.91 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.008279, allocations: 320.3 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009374/0.009217, allocations: 488.5 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.009262, allocations: 4 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.01015, allocations: 359.6 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.01059, allocations: 129 kB / 0.8808 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.01073, allocations: 28 kB / 0.8809 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.01086, allocations: 25.69 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.01108, allocations: 123.6 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.01135, allocations: 123.7 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008789/0.01223, allocations: 466.7 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01223, allocations: 1.188 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01223, allocations: 0 / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.01224, allocations: 0 / 0.8816 GB, free: 2.379 MB / 0.8386 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.002271/0.01451, allocations: 0.7922 MB / 0.8823 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.01456, allocations: 12.03 kB / 0.8824 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.01482, allocations: 61.34 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.01547, allocations: 259.9 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.01555, allocations: 21.08 kB / 0.8827 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.01571, allocations: 32.36 kB / 0.8827 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.01748, allocations: 226 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01749, allocations: 192 / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.01754, allocations: 8.359 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.01755, allocations: 384 / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.01887, allocations: 113.3 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.0195, allocations: 281.1 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.02127, allocations: 189 kB / 0.8835 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.02272, allocations: 115.7 kB / 0.8836 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.02276, allocations: 7.984 kB / 0.8836 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.02449, allocations: 239.1 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.02449, allocations: 1.625 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.004599/0.02909, allocations: 0.5341 MB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.02917, allocations: 56.25 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.03, allocations: 417.8 kB / 0.8848 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.03011, allocations: 42.38 kB / 0.8849 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.03027, allocations: 93.44 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.03035, allocations: 47.62 kB / 0.885 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.03073, allocations: 125.5 kB / 0.8851 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002532/0.03099, allocations: 322.8 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.03162, allocations: 195.3 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.0323, allocations: 243.4 kB / 0.8858 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.03307, allocations: 275.8 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.03308, allocations: 0 / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001821/0.0349, allocations: 0.5859 MB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.03504, allocations: 79.38 kB / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.03505, allocations: 0 / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.03508, allocations: 4 kB / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.03532, allocations: 19.98 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.03533, allocations: 7.875 kB / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.03628, allocations: 76.02 kB / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.03645, allocations: 59.98 kB / 0.8869 GB, free: 12.61 MB / 0.8542 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.000417/0.03687, allocations: 187.8 kB / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.03703, allocations: 51.7 kB / 0.8871 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.03715, allocations: 39.62 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.03715, allocations: 7.938 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.03716, allocations: 4 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.03717, allocations: 3.938 kB / 0.8872 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.04138, allocations: 0.709 MB / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.04139, allocations: 4 kB / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.04145, allocations: 3.938 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.04146, allocations: 8 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.04153, allocations: 27.91 kB / 0.8879 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.04154, allocations: 0 / 0.8879 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04154, allocations: 0 / 0.8879 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.04478, allocations: 0.5073 MB / 0.8884 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.04525, allocations: 129.6 kB / 0.8885 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.04538, allocations: 15.92 kB / 0.8886 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.04625, allocations: 42.97 kB / 0.8886 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.04631, allocations: 7.984 kB / 0.8886 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.04644, allocations: 55.97 kB / 0.8887 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000606/0.04704, allocations: 295.1 kB / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.04704, allocations: 0 / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007133/0.04776, allocations: 71.98 kB / 0.889 GB, free: 10.39 MB / 0.8542 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.000481/0.04824, allocations: 115.2 kB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.05078, allocations: 0.4889 MB / 0.8896 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.05079, allocations: 0 / 0.8896 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.0523, allocations: 124.2 kB / 0.8897 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.05294, allocations: 58 kB / 0.8898 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.05547, allocations: 0.5715 MB / 0.8903 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.05568, allocations: 162.9 kB / 0.8905 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.05575, allocations: 17.14 kB / 0.8905 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.0558, allocations: 20.5 kB / 0.8905 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.0558, allocations: 7.875 kB / 0.8905 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of Templates: time 0.01226/0.06807, allocations: 5.884 MB / 0.8963 GB, free: 2.82 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.239321390050463]