Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001864/0.001864, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002437/0.002437, allocations: 167.1 kB / 22.46 MB, free: 5.379 MB / 14.72 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.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.822/2.822, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.379e-05, allocations: 5.516 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002515/0.002539, allocations: 1.518 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.00379, allocations: 0.5324 MB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.003838, allocations: 0 / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.179e-05/0.00393, allocations: 11.86 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.00404, allocations: 35.78 kB / 0.9834 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.004849, allocations: 319.4 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.005404, allocations: 487.4 kB / 0.9842 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.005452, allocations: 19.97 kB / 0.9842 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.005976, allocations: 351.6 kB / 0.9846 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.00627, allocations: 131.7 kB / 0.9847 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.006388, allocations: 28 kB / 0.9847 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.006487, allocations: 24 kB / 0.9847 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.006629, allocations: 115.7 kB / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.006813, allocations: 135.7 kB / 0.985 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.007358, allocations: 462.8 kB / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.00736, allocations: 0 / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007361, allocations: 0 / 0.9854 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.00737, allocations: 0 / 0.9854 GB, free: 7.867 MB / 0.9356 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.001269/0.008639, allocations: 0.8027 MB / 0.9862 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.008671, allocations: 15.95 kB / 0.9862 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.0088, allocations: 52.7 kB / 0.9863 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.009187, allocations: 248.1 kB / 0.9865 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.009227, allocations: 12.36 kB / 0.9865 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.009312, allocations: 36.36 kB / 0.9865 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.01043, allocations: 222 kB / 0.9868 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.01044, allocations: 192 / 0.9868 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.01047, allocations: 8.359 kB / 0.9868 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.01048, allocations: 4.375 kB / 0.9868 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.01136, allocations: 123.8 kB / 0.9869 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.01176, allocations: 289 kB / 0.9872 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.01294, allocations: 182.4 kB / 0.9873 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.0138, allocations: 116.8 kB / 0.9875 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01382, allocations: 0 / 0.9875 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.01488, allocations: 239.2 kB / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.01488, allocations: 0 / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002904/0.01779, allocations: 0.5274 MB / 0.9882 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.01784, allocations: 63.38 kB / 0.9883 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.0183, allocations: 413.9 kB / 0.9886 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.01837, allocations: 45.69 kB / 0.9887 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.01845, allocations: 89.45 kB / 0.9888 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.0185, allocations: 39.75 kB / 0.9888 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.01871, allocations: 125.5 kB / 0.9889 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01885, allocations: 322.8 kB / 0.9892 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.0192, allocations: 199.2 kB / 0.9894 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.01957, allocations: 241.3 kB / 0.9897 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.01998, allocations: 277.2 kB / 0.9899 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01998, allocations: 3.938 kB / 0.9899 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009669/0.02095, allocations: 0.565 MB / 0.9905 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.02104, allocations: 83.31 kB / 0.9906 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02104, allocations: 4 kB / 0.9906 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.02106, allocations: 4 kB / 0.9906 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.02122, allocations: 20.17 kB / 0.9906 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.02124, allocations: 23.8 kB / 0.9906 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.02176, allocations: 59.91 kB / 0.9907 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.02185, allocations: 55.98 kB / 0.9907 GB, free: 2.102 MB / 0.9356 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.0002426/0.02209, allocations: 191.7 kB / 0.9909 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.02216, allocations: 39.77 kB / 0.9909 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.02222, allocations: 47.67 kB / 0.991 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.02222, allocations: 0 / 0.991 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02223, allocations: 0 / 0.991 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02223, allocations: 3.938 kB / 0.991 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.02466, allocations: 0.709 MB / 0.9917 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02466, allocations: 4 kB / 0.9917 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.0247, allocations: 7.984 kB / 0.9917 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0247, allocations: 0 / 0.9917 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.02475, allocations: 31.84 kB / 0.9917 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.02475, allocations: 0 / 0.9917 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.02475, allocations: 0 / 0.9917 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.02676, allocations: 0.4918 MB / 0.9922 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.02703, allocations: 141.5 kB / 0.9923 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.02711, allocations: 11.94 kB / 0.9924 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.02764, allocations: 39.95 kB / 0.9924 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.02767, allocations: 19.91 kB / 0.9924 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.02775, allocations: 59.97 kB / 0.9925 GB, free: 260 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003343/0.02808, allocations: 295.2 kB / 0.9927 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02808, allocations: 0 / 0.9927 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003549/0.02844, allocations: 72 kB / 0.9928 GB, free: 15.89 MB / 0.9512 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.0001516/0.02859, allocations: 111.7 kB / 0.9929 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.03005, allocations: 487.6 kB / 0.9934 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03006, allocations: 384 / 0.9934 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.03092, allocations: 131.8 kB / 0.9935 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.03129, allocations: 25.64 kB / 0.9935 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.03289, allocations: 0.5773 MB / 0.9941 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.03307, allocations: 162.8 kB / 0.9943 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.557e-05/0.03313, allocations: 17.14 kB / 0.9943 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.03318, allocations: 20.44 kB / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.03318, allocations: 0 / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.01034/0.04352, allocations: 5.871 MB / 1 GB, free: 8.375 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.22195627912879]