Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001477/0.001477, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001639/0.001639, allocations: 161 kB / 24.16 MB, free: 332 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 1.02/1.02, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.894e-05, allocations: 5.109 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002139/0.002158, allocations: 1.614 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003302, allocations: 0.547 MB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.003373, allocations: 0 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003486, allocations: 13.11 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003607, allocations: 25.72 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.004318, allocations: 322.6 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.004743, allocations: 492.8 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.00478, allocations: 7.984 kB / 0.763 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.005155, allocations: 359.6 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.005378, allocations: 136 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.005429, allocations: 29.09 kB / 0.7635 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.005471, allocations: 28 kB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.005565, allocations: 119.7 kB / 0.7636 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.005669, allocations: 128.7 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.005964, allocations: 382.8 kB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005966, allocations: 0 / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005967, allocations: 0.9375 kB / 0.7641 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005971, allocations: 0 / 0.7641 GB, free: 2.496 MB / 0.7136 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.0007551/0.006726, allocations: 0.74 MB / 0.7648 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.00676, allocations: 18.7 kB / 0.7648 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.006836, allocations: 48.88 kB / 0.7649 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.007076, allocations: 224.1 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.007106, allocations: 20.36 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.00715, allocations: 28.38 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.007452, allocations: 182 kB / 0.7653 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.00746, allocations: 4.125 kB / 0.7653 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.007475, allocations: 2.75 kB / 0.7653 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.007482, allocations: 4.375 kB / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.007557, allocations: 43.59 kB / 0.7654 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.00772, allocations: 112.9 kB / 0.7655 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.007868, allocations: 106.5 kB / 0.7656 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.00794, allocations: 47.36 kB / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.007956, allocations: 4 kB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.008116, allocations: 150.8 kB / 0.7658 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.008117, allocations: 0 / 0.7658 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005534/0.008671, allocations: 202 kB / 0.766 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.008701, allocations: 67.39 kB / 0.766 GB, free: 428 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.008877, allocations: 327.2 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.008911, allocations: 41.7 kB / 0.7664 GB, free: 40 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.00897, allocations: 98.3 kB / 0.7665 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.009, allocations: 35.78 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.009111, allocations: 110.2 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.009182, allocations: 326.8 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.009325, allocations: 156.3 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.00947, allocations: 205.3 kB / 0.7673 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.009647, allocations: 253.9 kB / 0.7675 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.00965, allocations: 1.094 kB / 0.7675 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003435/0.009993, allocations: 429 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.01005, allocations: 88.97 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.01005, allocations: 0 / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01007, allocations: 4 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.01018, allocations: 39.89 kB / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01018, allocations: 4 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.01034, allocations: 49.11 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.01039, allocations: 53.36 kB / 0.7681 GB, free: 14.09 MB / 0.7292 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.0001127/0.0105, allocations: 146.5 kB / 0.7683 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.01054, allocations: 31.97 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.01058, allocations: 32.78 kB / 0.7683 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.01058, allocations: 0 / 0.7683 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01058, allocations: 4.766 kB / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01058, allocations: 0 / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.01101, allocations: 382.2 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01101, allocations: 1.375 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.01103, allocations: 4 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01103, allocations: 0 / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.01105, allocations: 16.66 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01105, allocations: 0 / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01106, allocations: 4.859 kB / 0.7687 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01126, allocations: 249.2 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.01139, allocations: 111.5 kB / 0.7691 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.01143, allocations: 19.98 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.0116, allocations: 30.19 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.01162, allocations: 11.92 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.01167, allocations: 51.92 kB / 0.7692 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.01176, allocations: 137.5 kB / 0.7693 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 0.7693 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002088/0.01197, allocations: 64.75 kB / 0.7694 GB, free: 12.8 MB / 0.7292 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.668e-05/0.01206, allocations: 93.16 kB / 0.7695 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.01245, allocations: 412.2 kB / 0.7699 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.01245, allocations: 5.625 kB / 0.7699 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.01254, allocations: 64.34 kB / 0.7699 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.01273, allocations: 42.48 kB / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.01333, allocations: 460.3 kB / 0.7704 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01338, allocations: 84.81 kB / 0.7705 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.01342, allocations: 15.48 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.01359, allocations: 126 kB / 0.7706 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/0.01359, allocations: 1.375 kB / 0.7706 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.006452/0.02004, allocations: 5.312 MB / 0.7758 GB, free: 6.137 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.040608101058751]