Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001327/0.001327, allocations: 80.92 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.001569/0.001569, 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.113/1.113, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.972/1.972, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.477e-05/3.679e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003531/0.003568, allocations: 1.832 MB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.00473, allocations: 0.6236 MB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004833, allocations: 0 / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.004946, allocations: 15.17 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.0051, allocations: 37.75 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.005931, allocations: 379.5 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007154/0.006646, allocations: 0.5985 MB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006759, allocations: 21.94 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.007438, allocations: 431.5 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.007898, allocations: 143.8 kB / 0.7641 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.008032, allocations: 40 kB / 0.7641 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.008127, allocations: 44 kB / 0.7642 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.008301, allocations: 132.9 kB / 0.7643 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.008491, allocations: 143.7 kB / 0.7644 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.00909, allocations: 434.7 kB / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.009094, allocations: 1.062 kB / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.009096, allocations: 0 / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.009106, allocations: 0 / 0.7648 GB, free: 1.711 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001298/0.0104, allocations: 0.779 MB / 0.7656 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.01046, allocations: 14.09 kB / 0.7656 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.01059, allocations: 52.88 kB / 0.7657 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.01101, allocations: 251.9 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.01107, allocations: 20.36 kB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.01115, allocations: 32.36 kB / 0.766 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.01165, allocations: 192.7 kB / 0.7661 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01166, allocations: 192 / 0.7661 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.01168, allocations: 8.359 kB / 0.7662 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.0117, allocations: 4.375 kB / 0.7662 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01183, allocations: 46.8 kB / 0.7662 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.01269, allocations: 329 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.01295, allocations: 100.5 kB / 0.7666 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.01306, allocations: 44.77 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01308, allocations: 7.938 kB / 0.7667 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.01332, allocations: 151.3 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/0.01333, allocations: 1.156 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004883/0.01382, allocations: 202.6 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01386, allocations: 70.08 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.01418, allocations: 339.4 kB / 0.7674 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.01424, allocations: 41.69 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.01431, allocations: 105.4 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.01436, allocations: 47.61 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.01454, allocations: 121.4 kB / 0.7677 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01465, allocations: 322.8 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.0149, allocations: 160.7 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.01516, allocations: 209.3 kB / 0.7684 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.01545, allocations: 255.2 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01545, allocations: 0.9375 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005643/0.01601, allocations: 454 kB / 0.769 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.0161, allocations: 88.28 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.01611, allocations: 4 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01613, allocations: 4 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01629, allocations: 40.91 kB / 0.7692 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.0163, allocations: 7.984 kB / 0.7692 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.01655, allocations: 45.05 kB / 0.7692 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.01663, allocations: 51.98 kB / 0.7693 GB, free: 12.94 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001699/0.0168, allocations: 148.6 kB / 0.7694 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.01686, allocations: 27.91 kB / 0.7694 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.01693, allocations: 36.67 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01693, allocations: 0 / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01694, allocations: 4 kB / 0.7695 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.01695, allocations: 4.922 kB / 0.7695 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.01757, allocations: 400 kB / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01757, allocations: 0 / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.01761, allocations: 8.719 kB / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01761, allocations: 0 / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.01765, allocations: 17.38 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01765, allocations: 0 / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01765, allocations: 0 / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.01799, allocations: 241.2 kB / 0.7701 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.01823, allocations: 127.5 kB / 0.7702 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.0183, allocations: 24.94 kB / 0.7703 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.01856, allocations: 33.59 kB / 0.7703 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.01859, allocations: 3.984 kB / 0.7703 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.01865, allocations: 51.97 kB / 0.7703 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001576/0.01881, allocations: 142 kB / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01881, allocations: 0 / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003474/0.01916, allocations: 71.98 kB / 0.7705 GB, free: 11.6 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001879/0.01934, allocations: 116.7 kB / 0.7707 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006471/0.01999, allocations: 414.2 kB / 0.771 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.02, allocations: 4 kB / 0.7711 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.02014, allocations: 66.14 kB / 0.7711 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.02051, allocations: 53.55 kB / 0.7712 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.02133, allocations: 482.7 kB / 0.7716 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.02141, allocations: 92.61 kB / 0.7717 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.866e-05/0.02148, allocations: 16.73 kB / 0.7717 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.02175, allocations: 122.2 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.02175, allocations: 0 / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01082/0.03257, allocations: 5.886 MB / 0.7776 GB, free: 4.332 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.348815068136901]