Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.0009328/0.0009328, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009751/0.0009751, allocations: 173.3 kB / 23.03 MB, free: 1.547 MB / 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.9602/0.9602, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.021/2.021, allocations: 429.5 MB / 0.6733 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.95e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001974/0.001994, allocations: 1.8 MB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003063, allocations: 0.6165 MB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.003117, allocations: 0 / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.541e-05/0.003212, allocations: 12.92 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.003329, allocations: 35.94 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.003923, allocations: 368.3 kB / 0.881 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.004341, allocations: 0.6016 MB / 0.8816 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.004433, allocations: 25.28 kB / 0.8816 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.00479, allocations: 424 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.00498, allocations: 133.1 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.005037, allocations: 40 kB / 0.8822 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.005093, allocations: 44 kB / 0.8822 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.005189, allocations: 132.2 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.005304, allocations: 148.5 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.005626, allocations: 430.8 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005628, allocations: 1.094 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.233e-06/0.005629, allocations: 0 / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.005634, allocations: 0 / 0.8829 GB, free: 1.527 MB / 0.8386 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.0008621/0.006496, allocations: 0.9461 MB / 0.8838 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.006532, allocations: 17.2 kB / 0.8838 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.006637, allocations: 64.66 kB / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.006899, allocations: 282.8 kB / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.006934, allocations: 21.36 kB / 0.8842 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.006983, allocations: 36.36 kB / 0.8842 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.00736, allocations: 214.5 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.007368, allocations: 1.75 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.007389, allocations: 8.359 kB / 0.8844 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.007397, allocations: 8.312 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.007503, allocations: 70.86 kB / 0.8845 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.008229, allocations: 0.6048 MB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.008419, allocations: 123 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.008532, allocations: 71.59 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.008555, allocations: 4 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.00885, allocations: 189 kB / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.008851, allocations: 0 / 0.8855 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005255/0.009377, allocations: 388.5 kB / 0.8858 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.009416, allocations: 59.39 kB / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.009711, allocations: 430.7 kB / 0.8863 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.009751, allocations: 45.69 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.009824, allocations: 148.1 kB / 0.8865 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.009854, allocations: 39.67 kB / 0.8865 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.009981, allocations: 147.1 kB / 0.8867 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.0101, allocations: 0.4923 MB / 0.8871 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.0103, allocations: 183.3 kB / 0.8873 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.01051, allocations: 254.8 kB / 0.8876 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.01074, allocations: 278.8 kB / 0.8878 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01074, allocations: 0 / 0.8878 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000543/0.01128, allocations: 0.5742 MB / 0.8884 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.01134, allocations: 91.36 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01135, allocations: 4 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01136, allocations: 0 / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01148, allocations: 27.98 kB / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.01149, allocations: 11.92 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.01166, allocations: 43.88 kB / 0.8886 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.01171, allocations: 63.97 kB / 0.8886 GB, free: 11.29 MB / 0.8542 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.0001192/0.01183, allocations: 191.3 kB / 0.8888 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.01188, allocations: 51.66 kB / 0.8889 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.01192, allocations: 39.72 kB / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01193, allocations: 0 / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01193, allocations: 3.938 kB / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01193, allocations: 0 / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.01255, allocations: 0.7004 MB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01255, allocations: 4 kB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.01258, allocations: 7.938 kB / 0.8896 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01258, allocations: 0 / 0.8896 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.01261, allocations: 23.97 kB / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01261, allocations: 0 / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01261, allocations: 0 / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.01298, allocations: 467.9 kB / 0.8901 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.01313, allocations: 173.5 kB / 0.8902 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.01318, allocations: 16 kB / 0.8902 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01333, allocations: 23.98 kB / 0.8903 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.01336, allocations: 11.98 kB / 0.8903 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.0134, allocations: 59.97 kB / 0.8903 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001625/0.01357, allocations: 279.1 kB / 0.8906 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01357, allocations: 0 / 0.8906 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002129/0.01378, allocations: 67.98 kB / 0.8907 GB, free: 9.121 MB / 0.8542 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.0001084/0.01389, allocations: 127.9 kB / 0.8908 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.01432, allocations: 457.5 kB / 0.8912 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01432, allocations: 0 / 0.8912 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01443, allocations: 82.78 kB / 0.8913 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.0147, allocations: 67.17 kB / 0.8914 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.01523, allocations: 498.8 kB / 0.8918 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01528, allocations: 91.8 kB / 0.8919 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.01532, allocations: 13.5 kB / 0.8919 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01535, allocations: 16.48 kB / 0.892 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01535, allocations: 3.938 kB / 0.892 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of Templates: time 0.007439/0.02279, allocations: 7.035 MB / 0.8988 GB, free: 0.6211 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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: 5.265723465010524]