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.001018/0.001018, 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.0009518/0.0009518, allocations: 165 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.012/1.012, 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.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.34 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 1.753e-06/1.753e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.032e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002381/0.002402, allocations: 1.787 MB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003517, allocations: 0.6202 MB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.003588, allocations: 0 / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.003685, allocations: 12.84 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.003808, allocations: 35.5 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.004527, allocations: 382.2 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.005033, allocations: 0.6041 MB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.005116, allocations: 30.61 kB / 0.7635 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.005512, allocations: 419.5 kB / 0.7639 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.005729, allocations: 143.7 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.005784, allocations: 40.88 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.441e-05/0.005838, allocations: 40 kB / 0.7641 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.00594, allocations: 133.8 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.006053, allocations: 151.7 kB / 0.7643 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.006382, allocations: 434.7 kB / 0.7648 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006383, allocations: 0 / 0.7648 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.006384, allocations: 0 / 0.7648 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.006389, allocations: 0 / 0.7648 GB, free: 1.797 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.0007943/0.007183, allocations: 0.7796 MB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.007212, allocations: 8.031 kB / 0.7655 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.748e-05/0.00729, allocations: 51.91 kB / 0.7656 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.007527, allocations: 255.9 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.007562, allocations: 24.36 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.007612, allocations: 32.36 kB / 0.7659 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.007927, allocations: 191 kB / 0.7661 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.007934, allocations: 192 / 0.7661 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.007953, allocations: 5.656 kB / 0.7661 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.007958, allocations: 384 / 0.7661 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.008034, allocations: 49.28 kB / 0.7661 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.008568, allocations: 331.1 kB / 0.7664 GB, free: 0 / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.008736, allocations: 87.64 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.008809, allocations: 45.78 kB / 0.7666 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.008826, allocations: 6.938 kB / 0.7666 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.008985, allocations: 155.1 kB / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.008986, allocations: 0 / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000342/0.009328, allocations: 208.6 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.009369, allocations: 55.41 kB / 0.767 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.009598, allocations: 343.4 kB / 0.7673 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.009639, allocations: 46.72 kB / 0.7673 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.009699, allocations: 105.3 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.009732, allocations: 39.67 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.00986, allocations: 126.3 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.009945, allocations: 326.8 kB / 0.7679 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.0101, allocations: 160.1 kB / 0.7681 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01026, allocations: 209.3 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.01046, allocations: 258 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01047, allocations: 5.344 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003649/0.01083, allocations: 451.9 kB / 0.7689 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.01089, allocations: 93.25 kB / 0.769 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01089, allocations: 0 / 0.769 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01091, allocations: 8 kB / 0.769 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.01101, allocations: 37.56 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01101, allocations: 3.938 kB / 0.7691 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01117, allocations: 47.86 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.01122, allocations: 48.61 kB / 0.7692 GB, free: 13.04 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.0001194/0.01134, allocations: 148.4 kB / 0.7693 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01138, allocations: 31.91 kB / 0.7693 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.01142, allocations: 40.84 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01142, allocations: 0 / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01142, allocations: 0 / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01143, allocations: 0.9062 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.01185, allocations: 398.4 kB / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01185, allocations: 0 / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.01187, allocations: 4.938 kB / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01187, allocations: 0 / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01189, allocations: 17 kB / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01189, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0119, allocations: 0 / 0.7698 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01211, allocations: 244.9 kB / 0.77 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.01226, allocations: 136.5 kB / 0.7701 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.01231, allocations: 16 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.01248, allocations: 29.62 kB / 0.7702 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.0125, allocations: 15.92 kB / 0.7702 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.01254, allocations: 48.88 kB / 0.7702 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.911e-05/0.01264, allocations: 144.7 kB / 0.7704 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01264, allocations: 4.688 kB / 0.7704 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001992/0.01284, allocations: 64 kB / 0.7704 GB, free: 11.7 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.0001101/0.01295, allocations: 111.5 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.01334, allocations: 413.1 kB / 0.7709 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01334, allocations: 4 kB / 0.771 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.01343, allocations: 68.38 kB / 0.771 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01364, allocations: 58.25 kB / 0.7711 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.01414, allocations: 490.4 kB / 0.7715 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01419, allocations: 84.88 kB / 0.7716 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.01423, allocations: 15.7 kB / 0.7716 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.0144, allocations: 118.9 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.0144, allocations: 0 / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.006995/0.0214, allocations: 5.879 MB / 0.7775 GB, free: 4.43 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 -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.0528180887922645]