Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001857/0.001857, allocations: 85.48 kB / 19.44 MB, free: 340 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.002014/0.002014, allocations: 177.2 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.555/1.555, 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.393/3.393, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 3.938 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.999e-05/4.253e-05, allocations: 6.25 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003079/0.003122, allocations: 1.538 MB / 0.8789 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004532, allocations: 0.5304 MB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.004582, allocations: 4 kB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.004692, allocations: 6.281 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004816, allocations: 40.81 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000839/0.005655, allocations: 311.2 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.006263, allocations: 481.6 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.006302, allocations: 7.984 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.006859, allocations: 355.6 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.007167, allocations: 131.7 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.007305, allocations: 24.72 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.007436, allocations: 28 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.007605, allocations: 125.3 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.007802, allocations: 123.7 kB / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.008419, allocations: 466.7 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.008423, allocations: 0 / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.008424, allocations: 0 / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.00843, allocations: 0.5 kB / 0.8814 GB, free: 2.566 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.001508/0.009938, allocations: 0.927 MB / 0.8823 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.009973, allocations: 11.97 kB / 0.8823 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01013, allocations: 58.3 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.01063, allocations: 254.9 kB / 0.8826 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.01068, allocations: 20.38 kB / 0.8827 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.01076, allocations: 24.36 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.01141, allocations: 202 kB / 0.8829 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.01142, allocations: 192 / 0.8829 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01145, allocations: 8.312 kB / 0.8829 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.01146, allocations: 384 / 0.8829 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.01187, allocations: 94.69 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.01239, allocations: 344.3 kB / 0.8833 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.01301, allocations: 147 kB / 0.8834 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.01342, allocations: 87.62 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01345, allocations: 4 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.01404, allocations: 212.2 kB / 0.8837 GB, free: 40 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01404, allocations: 0 / 0.8837 GB, free: 40 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001684/0.01572, allocations: 437.1 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.01579, allocations: 63.39 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.01672, allocations: 470.6 kB / 0.8847 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.01678, allocations: 37.7 kB / 0.8847 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01691, allocations: 144.2 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.01696, allocations: 43.75 kB / 0.8849 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.01721, allocations: 139.1 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003169/0.01753, allocations: 0.4962 MB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.01794, allocations: 215.2 kB / 0.8857 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.0184, allocations: 285.9 kB / 0.886 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.01889, allocations: 315.3 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01889, allocations: 4 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001135/0.02003, allocations: 0.627 MB / 0.8869 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.02013, allocations: 85.55 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02013, allocations: 0 / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.02015, allocations: 4 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.02037, allocations: 31.92 kB / 0.887 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.02038, allocations: 7.938 kB / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.02074, allocations: 48.11 kB / 0.8871 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.02085, allocations: 63.97 kB / 0.8871 GB, free: 12.38 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.0002474/0.0211, allocations: 190.4 kB / 0.8873 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.02119, allocations: 43.72 kB / 0.8873 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.02126, allocations: 35.69 kB / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02127, allocations: 0 / 0.8874 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.02127, allocations: 7.984 kB / 0.8874 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.02128, allocations: 3.938 kB / 0.8874 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.02304, allocations: 0.7395 MB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02305, allocations: 0 / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.02308, allocations: 4 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.02309, allocations: 4 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.02314, allocations: 27.91 kB / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02314, allocations: 4 kB / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.02315, allocations: 0 / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.02434, allocations: 0.4951 MB / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.02465, allocations: 125.5 kB / 0.8888 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.02473, allocations: 15.94 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.02502, allocations: 23.97 kB / 0.8888 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.02507, allocations: 11.97 kB / 0.8888 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/0.02515, allocations: 55.98 kB / 0.8889 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003293/0.02548, allocations: 291.1 kB / 0.8891 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02548, allocations: 4 kB / 0.8891 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003772/0.02585, allocations: 67.98 kB / 0.8892 GB, free: 10.17 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.0001719/0.02603, allocations: 111.2 kB / 0.8893 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.02723, allocations: 0.588 MB / 0.8899 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02724, allocations: 0 / 0.8899 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.02767, allocations: 108 kB / 0.89 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.02808, allocations: 49.61 kB / 0.89 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.02926, allocations: 0.495 MB / 0.8905 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.02946, allocations: 162.9 kB / 0.8907 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.02953, allocations: 17.14 kB / 0.8907 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.02957, allocations: 16.5 kB / 0.8907 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.02957, allocations: 0 / 0.8907 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of Templates: time 0.01167/0.04125, allocations: 5.886 MB / 0.8965 GB, free: 2.59 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.48312834999524]