Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001305/0.001305, allocations: 85.86 kB / 20.68 MB, free: 3.812 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.001794/0.001794, allocations: 181 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.9655/0.9655, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.746/1.746, allocations: 359 MB / 0.6055 GB, free: 10.85 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.CalendarTimeMonthsMinus,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.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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.966e-05, allocations: 3.562 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001794/0.001814, allocations: 1.562 MB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.002812, allocations: 0.5467 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.002861, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.169e-05/0.002952, allocations: 7.938 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.003058, allocations: 21.48 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.003628, allocations: 329.1 kB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.003967, allocations: 488.8 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.004, allocations: 3.938 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.004347, allocations: 355.6 kB / 0.7907 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.004548, allocations: 147.7 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.004602, allocations: 24 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.004657, allocations: 28 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.004745, allocations: 119.7 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.004843, allocations: 131.7 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.005114, allocations: 374.9 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005116, allocations: 4 kB / 0.7915 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.22e-07/0.005116, allocations: 0 / 0.7915 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00512, allocations: 0.7188 kB / 0.7915 GB, free: 8.137 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.0007632/0.005883, allocations: 0.9159 MB / 0.7924 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.00592, allocations: 12.03 kB / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.006001, allocations: 60.66 kB / 0.7925 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.006381, allocations: 260.5 kB / 0.7927 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.00641, allocations: 12.36 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.006453, allocations: 32.36 kB / 0.7928 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.006759, allocations: 205.5 kB / 0.793 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.006766, allocations: 192 / 0.793 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.006783, allocations: 8.906 kB / 0.793 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.006788, allocations: 0.9062 kB / 0.793 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.006871, allocations: 61.06 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.007083, allocations: 248.9 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.007241, allocations: 119 kB / 0.7934 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.007322, allocations: 60.75 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.007343, allocations: 4 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.007506, allocations: 179.4 kB / 0.7936 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.007507, allocations: 0 / 0.7936 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000451/0.007958, allocations: 365.1 kB / 0.794 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.007987, allocations: 63.41 kB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.008206, allocations: 410.5 kB / 0.7944 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.008243, allocations: 41.69 kB / 0.7945 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.008299, allocations: 148.1 kB / 0.7946 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.008332, allocations: 39.72 kB / 0.7946 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.008445, allocations: 139 kB / 0.7948 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.008554, allocations: 0.4961 MB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.008703, allocations: 159.3 kB / 0.7954 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.008865, allocations: 241 kB / 0.7956 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.009045, allocations: 255.1 kB / 0.7959 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009046, allocations: 0 / 0.7959 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004592/0.009506, allocations: 0.5351 MB / 0.7964 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.009556, allocations: 83.56 kB / 0.7965 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009561, allocations: 4 kB / 0.7965 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.009572, allocations: 0 / 0.7965 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.009679, allocations: 39.91 kB / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009683, allocations: 4 kB / 0.7965 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.00984, allocations: 51.8 kB / 0.7966 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.009892, allocations: 55.98 kB / 0.7966 GB, free: 2.578 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.0001149/0.01001, allocations: 186.5 kB / 0.7968 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.01005, allocations: 43.77 kB / 0.7968 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.0101, allocations: 39.67 kB / 0.7969 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.0101, allocations: 0 / 0.7969 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.0101, allocations: 0 / 0.7969 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0101, allocations: 0 / 0.7969 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.01067, allocations: 0.6189 MB / 0.7975 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01067, allocations: 0 / 0.7975 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.01069, allocations: 4 kB / 0.7975 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.01069, allocations: 4 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.01072, allocations: 23.97 kB / 0.7975 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01072, allocations: 0 / 0.7975 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01072, allocations: 3.938 kB / 0.7975 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.01105, allocations: 452 kB / 0.798 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.0112, allocations: 121.5 kB / 0.7981 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.01124, allocations: 11.98 kB / 0.7981 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.01141, allocations: 35.98 kB / 0.7981 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.01143, allocations: 19.84 kB / 0.7981 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.01147, allocations: 55.98 kB / 0.7982 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000117/0.01159, allocations: 271 kB / 0.7984 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01159, allocations: 0 / 0.7984 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/0.0118, allocations: 63.98 kB / 0.7985 GB, free: 0.5859 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 8.562e-05/0.01188, allocations: 107.8 kB / 0.7986 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.01228, allocations: 427.8 kB / 0.799 GB, free: 12 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01228, allocations: 0 / 0.799 GB, free: 12 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.01239, allocations: 84 kB / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01261, allocations: 51.45 kB / 0.7991 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.01337, allocations: 482.8 kB / 0.7996 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.937e-05/0.01342, allocations: 83.81 kB / 0.7997 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.01346, allocations: 13.14 kB / 0.7997 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.01362, allocations: 146.2 kB / 0.7998 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01362, allocations: 0 / 0.7998 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.006076/0.0197, allocations: 5.336 MB / 0.805 GB, free: 9.73 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.800272697582841]