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.0008357/0.0008357, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009628/0.0009628, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9356/0.9356, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.034/2.034, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.613e-06/1.613e-06, allocations: 0 / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.259e-05, allocations: 5.547 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001916/0.001939, allocations: 1.565 MB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002981, allocations: 0.5459 MB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.00305, allocations: 4 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.003159, allocations: 12.61 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003278, allocations: 21.41 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.00403, allocations: 328.8 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.004451, allocations: 480.1 kB / 0.881 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.00449, allocations: 4 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.004857, allocations: 356.4 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.005077, allocations: 131.5 kB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.005134, allocations: 24 kB / 0.8815 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.911e-05/0.005183, allocations: 28 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.005278, allocations: 116.7 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.005385, allocations: 135.7 kB / 0.8818 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.005713, allocations: 374.8 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005717, allocations: 5.125 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005718, allocations: 0 / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.005724, allocations: 0 / 0.8821 GB, free: 2.305 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.0008957/0.00662, allocations: 0.9193 MB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.006661, allocations: 9.156 kB / 0.883 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.006772, allocations: 56.7 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.007029, allocations: 250.9 kB / 0.8833 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.007067, allocations: 21.14 kB / 0.8833 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.007113, allocations: 28.38 kB / 0.8834 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.00747, allocations: 207.8 kB / 0.8836 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.007479, allocations: 4.125 kB / 0.8836 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.007499, allocations: 8.312 kB / 0.8836 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.007507, allocations: 4.375 kB / 0.8836 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.007606, allocations: 59.59 kB / 0.8836 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.008135, allocations: 308.3 kB / 0.8839 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.008345, allocations: 123 kB / 0.884 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.008441, allocations: 67.66 kB / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.008461, allocations: 0 / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.008683, allocations: 188.8 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.008684, allocations: 0 / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005298/0.009214, allocations: 373.2 kB / 0.8846 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.009252, allocations: 63.39 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.009505, allocations: 426.6 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.009541, allocations: 41.69 kB / 0.8852 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.009609, allocations: 140.2 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.009646, allocations: 43.67 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.009768, allocations: 131.1 kB / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.009873, allocations: 0.4923 MB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.01007, allocations: 183.3 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01028, allocations: 238.8 kB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.01053, allocations: 279.2 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.01054, allocations: 4 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005526/0.01109, allocations: 0.5617 MB / 0.8872 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.01115, allocations: 79.38 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01115, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01117, allocations: 4 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.0113, allocations: 35.91 kB / 0.8873 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01131, allocations: 7.938 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.01148, allocations: 47.86 kB / 0.8873 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.01154, allocations: 64.17 kB / 0.8874 GB, free: 12.55 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.0001244/0.01166, allocations: 182.5 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.01172, allocations: 51.72 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.01176, allocations: 43.66 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01176, allocations: 0 / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01177, allocations: 0 / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01177, allocations: 3.938 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.01247, allocations: 0.6731 MB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01247, allocations: 0 / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.0125, allocations: 4 kB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0125, allocations: 0 / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.01253, allocations: 27.91 kB / 0.8883 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01253, allocations: 4 kB / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01253, allocations: 0 / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.01291, allocations: 456 kB / 0.8888 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.01304, allocations: 129.5 kB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.01309, allocations: 15.94 kB / 0.8889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.01324, allocations: 23.97 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.01327, allocations: 7.984 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.01331, allocations: 55.98 kB / 0.889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001479/0.01346, allocations: 275.1 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01346, allocations: 0 / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002323/0.01369, allocations: 67.98 kB / 0.8893 GB, free: 10.48 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.0001056/0.0138, allocations: 115.2 kB / 0.8894 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.01423, allocations: 430.1 kB / 0.8898 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01424, allocations: 0 / 0.8898 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01434, allocations: 94.84 kB / 0.8899 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.01461, allocations: 47.17 kB / 0.89 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.01535, allocations: 487 kB / 0.8904 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.0154, allocations: 83.81 kB / 0.8905 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01544, allocations: 17.14 kB / 0.8905 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.01548, allocations: 20.48 kB / 0.8906 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of SimCode: time 5.92e-07/0.01548, allocations: 0 / 0.8906 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of Templates: time 0.007885/0.02336, allocations: 6.495 MB / 0.8969 GB, free: 2.57 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1441543670371175]