Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009681/0.0009681, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001102/0.001102, allocations: 161 kB / 24.17 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.056/1.056, allocations: 177.2 MB / 204.6 MB, free: 5.344 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.977/1.977, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.CalendarTimeMonths,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.477e-05, allocations: 5.656 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002245/0.00227, allocations: 1.617 MB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.0033, allocations: 0.5418 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.003365, allocations: 0 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.003464, allocations: 9.625 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003584, allocations: 33.92 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.004246, allocations: 314.1 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.004703, allocations: 488.9 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.00475, allocations: 13.72 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.005142, allocations: 355.6 kB / 0.7633 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.005392, allocations: 127.1 kB / 0.7634 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.005446, allocations: 28.88 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.005494, allocations: 28 kB / 0.7635 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.005595, allocations: 131.6 kB / 0.7636 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.005697, allocations: 133 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.005988, allocations: 378.8 kB / 0.7641 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00599, allocations: 0 / 0.7641 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005991, allocations: 0.5625 kB / 0.7641 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005995, allocations: 0 / 0.7641 GB, free: 2.527 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.0008685/0.006864, allocations: 0.7372 MB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006897, allocations: 8.031 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.006976, allocations: 52.88 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.007232, allocations: 236.9 kB / 0.7651 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.007268, allocations: 16.36 kB / 0.7651 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.007312, allocations: 28.36 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.00764, allocations: 186.1 kB / 0.7653 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.007648, allocations: 192 / 0.7653 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.007666, allocations: 5.109 kB / 0.7653 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007674, allocations: 8.359 kB / 0.7653 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.007748, allocations: 37.11 kB / 0.7653 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.007925, allocations: 116.9 kB / 0.7655 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008078, allocations: 103 kB / 0.7655 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.00815, allocations: 43.34 kB / 0.7656 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.00817, allocations: 4 kB / 0.7656 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.008337, allocations: 144.5 kB / 0.7657 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.008339, allocations: 7.938 kB / 0.7657 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003581/0.008697, allocations: 204.8 kB / 0.7659 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.008733, allocations: 63.34 kB / 0.766 GB, free: 464 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.00895, allocations: 327.9 kB / 0.7663 GB, free: 124 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.008993, allocations: 43.66 kB / 0.7664 GB, free: 76 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.00907, allocations: 97.45 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.009114, allocations: 39.77 kB / 0.7665 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.009243, allocations: 109.4 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.009354, allocations: 326.8 kB / 0.7669 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.009525, allocations: 160.2 kB / 0.7671 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.009686, allocations: 209.3 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.00988, allocations: 245.1 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009883, allocations: 0 / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003689/0.01025, allocations: 436.2 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.01031, allocations: 87.91 kB / 0.768 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01032, allocations: 1.094 kB / 0.768 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01033, allocations: 4 kB / 0.768 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.01046, allocations: 35.97 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01046, allocations: 8.438 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.01063, allocations: 48.77 kB / 0.7681 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.01069, allocations: 57.31 kB / 0.7681 GB, free: 14.12 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.0001341/0.01083, allocations: 138.6 kB / 0.7683 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.01087, allocations: 29.36 kB / 0.7683 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.01091, allocations: 35.69 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01091, allocations: 0 / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01091, allocations: 0 / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01092, allocations: 5.219 kB / 0.7683 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.01136, allocations: 376.1 kB / 0.7687 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01136, allocations: 0 / 0.7687 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.01139, allocations: 7.984 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01139, allocations: 4.625 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.01141, allocations: 7.984 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01141, allocations: 0.5 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01142, allocations: 1.688 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.01164, allocations: 249.9 kB / 0.7689 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.01178, allocations: 119.5 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.01182, allocations: 12.91 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.012, allocations: 32.97 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.01202, allocations: 11.92 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.01207, allocations: 53.41 kB / 0.7692 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.152e-05/0.01216, allocations: 128.7 kB / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 4 kB / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002245/0.01238, allocations: 67.98 kB / 0.7694 GB, free: 12.83 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 0.0001245/0.01251, allocations: 98.19 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.01294, allocations: 409.8 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.01295, allocations: 4 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.01304, allocations: 67.62 kB / 0.7699 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01328, allocations: 45.61 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.01397, allocations: 461.3 kB / 0.7704 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.01402, allocations: 91.8 kB / 0.7705 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.01406, allocations: 10.91 kB / 0.7705 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.01424, allocations: 126.6 kB / 0.7706 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/0.01425, allocations: 3.938 kB / 0.7706 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.006973/0.02122, allocations: 5.316 MB / 0.7758 GB, free: 6.164 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.219018976669759]