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.0009945/0.0009945, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0013/0.0013, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.031/2.031, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.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 1.262e-06/1.262e-06, allocations: 0 / 0.8781 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.282e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001856/0.001878, allocations: 1.56 MB / 0.8797 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.002829, allocations: 0.5432 MB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.00288, allocations: 0 / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.241e-05/0.002973, allocations: 9.031 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.00307, allocations: 28 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.003619, allocations: 326 kB / 0.8806 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.003951, allocations: 479.4 kB / 0.881 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.003989, allocations: 4 kB / 0.881 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.004302, allocations: 359.5 kB / 0.8814 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.004489, allocations: 126.3 kB / 0.8815 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.004534, allocations: 29.66 kB / 0.8815 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.342e-05/0.004577, allocations: 28 kB / 0.8815 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.004672, allocations: 123.7 kB / 0.8816 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.004779, allocations: 131.7 kB / 0.8818 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.00507, allocations: 376.2 kB / 0.8821 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.005072, allocations: 0 / 0.8821 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005072, allocations: 0 / 0.8821 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.005077, allocations: 0 / 0.8821 GB, free: 2.637 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.0008064/0.005884, allocations: 0.9183 MB / 0.883 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.005914, allocations: 8.031 kB / 0.883 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.006013, allocations: 56.7 kB / 0.8831 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.006249, allocations: 258.8 kB / 0.8833 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.006284, allocations: 24.3 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.006333, allocations: 20.38 kB / 0.8834 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.006676, allocations: 206.7 kB / 0.8836 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006684, allocations: 192 / 0.8836 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.006705, allocations: 8.359 kB / 0.8836 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006713, allocations: 384 / 0.8836 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.006813, allocations: 59.91 kB / 0.8836 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.007097, allocations: 324.2 kB / 0.884 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.007288, allocations: 119 kB / 0.8841 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.007387, allocations: 67.66 kB / 0.8841 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.007405, allocations: 4 kB / 0.8841 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.007596, allocations: 180.9 kB / 0.8843 GB, free: 240 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.007597, allocations: 0 / 0.8843 GB, free: 240 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0005249/0.008122, allocations: 376.2 kB / 0.8847 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.008159, allocations: 67.39 kB / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.008427, allocations: 426.4 kB / 0.8851 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.008462, allocations: 41.69 kB / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.008522, allocations: 136.2 kB / 0.8853 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.008554, allocations: 39.69 kB / 0.8853 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.008672, allocations: 131.1 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.008778, allocations: 0.4923 MB / 0.8859 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.008981, allocations: 179.3 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.009186, allocations: 257.8 kB / 0.8864 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.009417, allocations: 272 kB / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00942, allocations: 0 / 0.8866 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005278/0.009947, allocations: 0.5587 MB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.009997, allocations: 83.36 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01, allocations: 4 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01001, allocations: 4 kB / 0.8873 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01013, allocations: 31.92 kB / 0.8873 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.01014, allocations: 7.922 kB / 0.8873 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.01031, allocations: 47.86 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.01037, allocations: 63.98 kB / 0.8874 GB, free: 12.86 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.0001151/0.01048, allocations: 190.6 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.01053, allocations: 47.72 kB / 0.8876 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.01057, allocations: 35.67 kB / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01057, allocations: 4 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01057, allocations: 3.938 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01057, allocations: 0 / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006365/0.01121, allocations: 0.6731 MB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01121, allocations: 4 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.01123, allocations: 4 kB / 0.8883 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01124, allocations: 0 / 0.8883 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.01126, allocations: 27.84 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01126, allocations: 0 / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01126, allocations: 4 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.01163, allocations: 452 kB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.01176, allocations: 121.5 kB / 0.8889 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.01181, allocations: 19.94 kB / 0.8889 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.01195, allocations: 19.98 kB / 0.889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.01198, allocations: 15.91 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.01202, allocations: 59.98 kB / 0.889 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001485/0.01217, allocations: 271.1 kB / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 0 / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002123/0.01238, allocations: 67.98 kB / 0.8893 GB, free: 10.79 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 9.004e-05/0.01247, allocations: 111.2 kB / 0.8895 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.0129, allocations: 433 kB / 0.8899 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.0129, allocations: 0 / 0.8899 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.013, allocations: 87.95 kB / 0.89 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.01325, allocations: 49.62 kB / 0.89 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.01391, allocations: 490.5 kB / 0.8905 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.01396, allocations: 83.81 kB / 0.8905 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01399, allocations: 17.14 kB / 0.8906 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.01402, allocations: 12.5 kB / 0.8906 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.01402, allocations: 0 / 0.8906 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of Templates: time 0.006214/0.02024, allocations: 5.892 MB / 0.8963 GB, free: 3.504 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.461043817922473]