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.0009764/0.0009764, 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.001023/0.001023, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.145/2.145, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.059e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002187/0.002208, allocations: 1.803 MB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003378, allocations: 0.6195 MB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.003457, allocations: 0.9062 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.003565, allocations: 12.42 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.003696, allocations: 32.52 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.004453, allocations: 368.5 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.004956, allocations: 0.6008 MB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.005056, allocations: 30.38 kB / 0.8816 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.00546, allocations: 419.5 kB / 0.882 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.005693, allocations: 137.7 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.005757, allocations: 40.97 kB / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.005816, allocations: 40 kB / 0.8822 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.005922, allocations: 131.6 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.006047, allocations: 148.4 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.006396, allocations: 430.8 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006398, allocations: 0.6562 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006399, allocations: 7.875 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.006404, allocations: 3.438 kB / 0.8829 GB, free: 1.492 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.0009501/0.007354, allocations: 0.9455 MB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.007391, allocations: 12.03 kB / 0.8838 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.007507, allocations: 64.66 kB / 0.8839 GB, free: 404 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.007804, allocations: 274.9 kB / 0.8842 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.00785, allocations: 20.36 kB / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.007905, allocations: 36.3 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.008302, allocations: 227.8 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.008314, allocations: 192 / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.008336, allocations: 4.375 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.008345, allocations: 8.375 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.008453, allocations: 59.91 kB / 0.8845 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.009259, allocations: 0.6087 MB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.00946, allocations: 123 kB / 0.8852 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.009564, allocations: 67.59 kB / 0.8853 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.009586, allocations: 7.984 kB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.009825, allocations: 193 kB / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.009827, allocations: 0 / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005926/0.01042, allocations: 380.7 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.01046, allocations: 63.41 kB / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.01084, allocations: 430.7 kB / 0.8863 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.01088, allocations: 37.7 kB / 0.8863 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.01096, allocations: 156.1 kB / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.011, allocations: 39.67 kB / 0.8865 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.01116, allocations: 143.1 kB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01127, allocations: 0.4923 MB / 0.8871 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.01149, allocations: 187.3 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.01171, allocations: 254.7 kB / 0.8876 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.01196, allocations: 279.5 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01196, allocations: 4 kB / 0.8878 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006461/0.01261, allocations: 0.5742 MB / 0.8884 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.01267, allocations: 87.38 kB / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01267, allocations: 0 / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01269, allocations: 4 kB / 0.8885 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01282, allocations: 39.91 kB / 0.8885 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01282, allocations: 8.188 kB / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.013, allocations: 43.86 kB / 0.8886 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.01305, allocations: 63.97 kB / 0.8886 GB, free: 11.25 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.0001233/0.01318, allocations: 187.1 kB / 0.8888 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.01323, allocations: 55.64 kB / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.01328, allocations: 35.67 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01328, allocations: 4 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01328, allocations: 0 / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01329, allocations: 4 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.01394, allocations: 0.6965 MB / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01394, allocations: 0 / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.01397, allocations: 7.984 kB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01397, allocations: 4 kB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.01399, allocations: 19.97 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.014, allocations: 0 / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.014, allocations: 0 / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.01438, allocations: 467.9 kB / 0.8901 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.01455, allocations: 177.5 kB / 0.8902 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.0146, allocations: 16 kB / 0.8902 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01475, allocations: 19.97 kB / 0.8903 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.01477, allocations: 15.92 kB / 0.8903 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.01482, allocations: 55.97 kB / 0.8903 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001704/0.01499, allocations: 283.1 kB / 0.8906 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 4 kB / 0.8906 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002341/0.01522, allocations: 64 kB / 0.8907 GB, free: 9.086 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.0001034/0.01533, allocations: 120 kB / 0.8908 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.01579, allocations: 457.5 kB / 0.8912 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01579, allocations: 0 / 0.8912 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.0159, allocations: 86.98 kB / 0.8913 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01618, allocations: 72.88 kB / 0.8914 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.01688, allocations: 0.4948 MB / 0.8919 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.129e-05/0.01694, allocations: 83.81 kB / 0.8919 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.01697, allocations: 13.48 kB / 0.8919 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.01701, allocations: 20.5 kB / 0.892 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01701, allocations: 0 / 0.892 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.007108/0.02412, allocations: 6.407 MB / 0.8982 GB, free: 1.207 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.6050705909729]