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.0009753/0.0009753, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009699/0.0009699, allocations: 173 kB / 23.49 MB, free: 1.055 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.9703/0.9703, allocations: 177.1 MB / 203.8 MB, free: 5.59 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.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.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.793e-06/1.793e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.115e-05, allocations: 9.203 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002542/0.002574, allocations: 1.568 MB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003837, allocations: 0.5379 MB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.003904, allocations: 5.312 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004012, allocations: 11.86 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.004134, allocations: 28.67 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.004867, allocations: 317.4 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.005338, allocations: 483.4 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.005388, allocations: 4 kB / 0.881 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.005824, allocations: 356.6 kB / 0.8814 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.006066, allocations: 130 kB / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.006128, allocations: 24 kB / 0.8815 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.006183, allocations: 28 kB / 0.8815 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.006308, allocations: 120.4 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.006452, allocations: 135.7 kB / 0.8818 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.006831, allocations: 376.6 kB / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006835, allocations: 0 / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/0.006837, allocations: 0 / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.006842, allocations: 0 / 0.8821 GB, free: 2.605 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.001062/0.007904, allocations: 0.916 MB / 0.883 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007945, allocations: 8.031 kB / 0.883 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.008075, allocations: 56.7 kB / 0.8831 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.00839, allocations: 262.8 kB / 0.8833 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.008435, allocations: 17.55 kB / 0.8834 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.008499, allocations: 36.3 kB / 0.8834 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.008954, allocations: 202 kB / 0.8836 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.008961, allocations: 4.812 kB / 0.8836 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.008986, allocations: 384 / 0.8836 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.008994, allocations: 1.281 kB / 0.8836 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.009131, allocations: 60.53 kB / 0.8836 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.00949, allocations: 308.3 kB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.009748, allocations: 130.9 kB / 0.8841 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.009881, allocations: 67.66 kB / 0.8841 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.009905, allocations: 8 kB / 0.8841 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.01018, allocations: 180.9 kB / 0.8843 GB, free: 216 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01018, allocations: 0 / 0.8843 GB, free: 216 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0007197/0.0109, allocations: 376.5 kB / 0.8847 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.01094, allocations: 67.34 kB / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.01137, allocations: 422.6 kB / 0.8851 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.01141, allocations: 45.69 kB / 0.8852 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.01148, allocations: 136.2 kB / 0.8853 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.01153, allocations: 43.67 kB / 0.8853 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.01169, allocations: 131.1 kB / 0.8855 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01181, allocations: 0.4923 MB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.01207, allocations: 175.3 kB / 0.8861 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.01236, allocations: 241.9 kB / 0.8864 GB, free: 14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.01268, allocations: 284.9 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01268, allocations: 0 / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007928/0.01347, allocations: 0.5549 MB / 0.8872 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/0.01355, allocations: 91.31 kB / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01356, allocations: 0 / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01358, allocations: 4 kB / 0.8873 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.01377, allocations: 31.97 kB / 0.8873 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.01378, allocations: 7.875 kB / 0.8873 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.01407, allocations: 47.86 kB / 0.8873 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.01415, allocations: 63.98 kB / 0.8874 GB, free: 12.84 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.0001762/0.01433, allocations: 182.6 kB / 0.8876 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.01441, allocations: 51.72 kB / 0.8876 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.01447, allocations: 35.67 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01447, allocations: 4 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01448, allocations: 0 / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01449, allocations: 7.875 kB / 0.8877 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.01552, allocations: 0.6693 MB / 0.8883 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01552, allocations: 0 / 0.8883 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.01557, allocations: 4 kB / 0.8883 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01558, allocations: 7.938 kB / 0.8883 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.01562, allocations: 23.91 kB / 0.8884 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01562, allocations: 3.938 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01562, allocations: 4 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.0162, allocations: 452 kB / 0.8888 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.01639, allocations: 125.5 kB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.01645, allocations: 11.94 kB / 0.8889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.01667, allocations: 27.97 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.01671, allocations: 7.984 kB / 0.889 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.01677, allocations: 59.98 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002062/0.01697, allocations: 271.1 kB / 0.8893 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01697, allocations: 0 / 0.8893 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000333/0.01731, allocations: 67.98 kB / 0.8893 GB, free: 10.78 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.0001423/0.01745, allocations: 119.2 kB / 0.8895 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005823/0.01803, allocations: 426.2 kB / 0.8899 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01803, allocations: 0 / 0.8899 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.01818, allocations: 90.84 kB / 0.8899 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.01855, allocations: 54 kB / 0.89 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.01954, allocations: 483 kB / 0.8905 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.01961, allocations: 83.81 kB / 0.8905 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.021e-05/0.01966, allocations: 17.14 kB / 0.8906 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.0197, allocations: 16.48 kB / 0.8906 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/0.0197, allocations: 7.938 kB / 0.8906 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of Templates: time 0.009127/0.02883, allocations: 5.88 MB / 0.8963 GB, free: 3.484 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.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.433619590010494]