Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001292/0.001292, allocations: 88.72 kB / 19.44 MB, free: 352 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.001509/0.001509, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.312/3.312, allocations: 429.6 MB / 0.673 GB, free: 3.871 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.CalendarTimeMonthsMinus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.126e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002951/0.002982, allocations: 1.532 MB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.004428, allocations: 0.5267 MB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.004488, allocations: 0.8438 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.004597, allocations: 11.86 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004723, allocations: 32.72 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.005591, allocations: 315 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.006185, allocations: 495.4 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.006225, allocations: 4 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.006778, allocations: 351.6 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.007077, allocations: 127.7 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.007161, allocations: 30.06 kB / 0.8809 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/0.007244, allocations: 28 kB / 0.8809 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.007411, allocations: 123.6 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.007603, allocations: 131.7 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.008182, allocations: 454.7 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.008186, allocations: 0 / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008187, allocations: 0.9375 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.008194, allocations: 3.938 kB / 0.8816 GB, free: 2.422 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.001483/0.009678, allocations: 0.8038 MB / 0.8824 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.009721, allocations: 8.031 kB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.009892, allocations: 65.77 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.01031, allocations: 252 kB / 0.8827 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.01037, allocations: 20.36 kB / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.01046, allocations: 25.42 kB / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.01159, allocations: 227.1 kB / 0.8829 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.0116, allocations: 2.531 kB / 0.8829 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.01163, allocations: 4.375 kB / 0.8829 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01164, allocations: 384 / 0.8829 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.01251, allocations: 123.8 kB / 0.8831 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.01296, allocations: 287.2 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.01413, allocations: 179.2 kB / 0.8835 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.01498, allocations: 118.4 kB / 0.8836 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.01501, allocations: 4 kB / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.01613, allocations: 246.5 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.01614, allocations: 0 / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.00291/0.01905, allocations: 0.5238 MB / 0.8844 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.01911, allocations: 63.39 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.01964, allocations: 413.8 kB / 0.8848 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.01973, allocations: 41.69 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.01992, allocations: 97.45 kB / 0.885 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.01998, allocations: 43.69 kB / 0.885 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.02021, allocations: 129.4 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.02038, allocations: 322.8 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.02075, allocations: 191.3 kB / 0.8856 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.02118, allocations: 250 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.0216, allocations: 271 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02161, allocations: 3.938 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001066/0.02267, allocations: 0.5842 MB / 0.8867 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.02277, allocations: 83.36 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.02278, allocations: 4 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.0228, allocations: 4 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.02298, allocations: 19.92 kB / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.02299, allocations: 8.125 kB / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.02354, allocations: 63.91 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.02364, allocations: 63.97 kB / 0.8869 GB, free: 12.64 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.0002652/0.0239, allocations: 195.7 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.024, allocations: 47.72 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-05/0.02409, allocations: 43.67 kB / 0.8872 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.02409, allocations: 7.984 kB / 0.8872 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.0241, allocations: 0 / 0.8872 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.0241, allocations: 3.938 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.02654, allocations: 0.7128 MB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02654, allocations: 0 / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.02658, allocations: 11.98 kB / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02659, allocations: 0 / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.02663, allocations: 19.92 kB / 0.8879 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.02663, allocations: 4 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.02663, allocations: 3.984 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.02864, allocations: 0.5073 MB / 0.8884 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.02891, allocations: 129.5 kB / 0.8886 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.02899, allocations: 19.94 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.02951, allocations: 35.95 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.02956, allocations: 7.984 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.02963, allocations: 59.98 kB / 0.8887 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003541/0.02999, allocations: 291.1 kB / 0.889 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02999, allocations: 4 kB / 0.889 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003932/0.03038, allocations: 63.98 kB / 0.889 GB, free: 10.43 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.0001831/0.03056, allocations: 119.2 kB / 0.8891 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.03204, allocations: 489.2 kB / 0.8896 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03204, allocations: 0 / 0.8896 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.03288, allocations: 132.2 kB / 0.8897 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.03331, allocations: 47.66 kB / 0.8898 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.03496, allocations: 0.5793 MB / 0.8903 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.03516, allocations: 170.9 kB / 0.8905 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.03522, allocations: 9.156 kB / 0.8905 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.03527, allocations: 20.48 kB / 0.8905 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.03527, allocations: 0 / 0.8905 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of Templates: time 0.01101/0.04628, allocations: 5.888 MB / 0.8963 GB, free: 2.863 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.282114590052515]