Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001361/0.001361, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001591/0.001591, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.995/0.995, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.298e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002005/0.002018, allocations: 1.559 MB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003132, allocations: 0.5329 MB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.003186, allocations: 7.938 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.003278, allocations: 7.922 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.00338, allocations: 32.75 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.00391, allocations: 315.3 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.00424, allocations: 487.4 kB / 0.7904 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.004272, allocations: 4 kB / 0.7904 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.00459, allocations: 359.6 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.004777, allocations: 143.1 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.00483, allocations: 29.38 kB / 0.7909 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.004879, allocations: 24 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.004967, allocations: 119.7 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.005063, allocations: 127.7 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.005332, allocations: 384.6 kB / 0.7915 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005334, allocations: 0 / 0.7915 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005335, allocations: 0 / 0.7915 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.005338, allocations: 0 / 0.7915 GB, free: 8.188 MB / 0.7448 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.0007543/0.006092, allocations: 0.9153 MB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.006126, allocations: 8.594 kB / 0.7924 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/0.006217, allocations: 64.66 kB / 0.7925 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.006447, allocations: 256.8 kB / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.006478, allocations: 16.38 kB / 0.7927 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.006521, allocations: 28.36 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.006835, allocations: 204.2 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.006841, allocations: 1.344 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.006859, allocations: 8.359 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.006863, allocations: 384 / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.006946, allocations: 56.62 kB / 0.793 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.007175, allocations: 254.4 kB / 0.7932 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.007338, allocations: 122 kB / 0.7934 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.007419, allocations: 61.47 kB / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.007438, allocations: 4 kB / 0.7934 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.007603, allocations: 174.3 kB / 0.7936 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.007604, allocations: 0 / 0.7936 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004606/0.008064, allocations: 358.7 kB / 0.7939 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.008101, allocations: 67.39 kB / 0.794 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.008321, allocations: 410.5 kB / 0.7944 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.008353, allocations: 45.69 kB / 0.7944 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.008546, allocations: 140.1 kB / 0.7946 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.008582, allocations: 43.7 kB / 0.7946 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.008695, allocations: 135 kB / 0.7947 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.008801, allocations: 0.4961 MB / 0.7952 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.008949, allocations: 163.3 kB / 0.7954 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.009111, allocations: 242.3 kB / 0.7956 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.009296, allocations: 262.5 kB / 0.7959 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009298, allocations: 4 kB / 0.7959 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004423/0.009741, allocations: 0.5224 MB / 0.7964 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.009787, allocations: 88.97 kB / 0.7965 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.009794, allocations: 4 kB / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.009803, allocations: 0 / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.009907, allocations: 39.91 kB / 0.7965 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.009911, allocations: 3.938 kB / 0.7965 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01008, allocations: 51.8 kB / 0.7966 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.01013, allocations: 59.98 kB / 0.7966 GB, free: 2.621 MB / 0.7448 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.000112/0.01024, allocations: 182.5 kB / 0.7968 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.01028, allocations: 51.75 kB / 0.7968 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.01032, allocations: 31.69 kB / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01032, allocations: 0 / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01032, allocations: 0 / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01033, allocations: 7.984 kB / 0.7969 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.01088, allocations: 0.6112 MB / 0.7975 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01089, allocations: 3.938 kB / 0.7975 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.01091, allocations: 4 kB / 0.7975 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01091, allocations: 4 kB / 0.7975 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.01093, allocations: 19.97 kB / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01093, allocations: 0 / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01093, allocations: 3.938 kB / 0.7975 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.01127, allocations: 452 kB / 0.7979 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.0114, allocations: 121.5 kB / 0.798 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.01144, allocations: 16 kB / 0.7981 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.01161, allocations: 31.97 kB / 0.7981 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.01163, allocations: 15.86 kB / 0.7981 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.01167, allocations: 59.97 kB / 0.7982 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000114/0.01178, allocations: 263 kB / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 0 / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002077/0.01199, allocations: 67.98 kB / 0.7985 GB, free: 0.6367 MB / 0.7448 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.107e-05/0.01208, allocations: 111.8 kB / 0.7986 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.01246, allocations: 425.6 kB / 0.799 GB, free: 60 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01247, allocations: 0 / 0.799 GB, free: 60 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01257, allocations: 78.12 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.0128, allocations: 62.36 kB / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01339, allocations: 486.8 kB / 0.7996 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.01343, allocations: 83.81 kB / 0.7997 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.01347, allocations: 13.14 kB / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.01364, allocations: 138.2 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.01364, allocations: 0 / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.006161/0.0198, allocations: 5.344 MB / 0.805 GB, free: 9.77 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.829807541333139]