Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001353/0.001353, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001574/0.001574, allocations: 169 kB / 24.06 MB, free: 456 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.124/2.124, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.CalendarTimeMonthsPlus,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.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.775e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.005449/0.005467, allocations: 1.781 MB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.006629, allocations: 0.6193 MB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.006692, allocations: 0.5938 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.006788, allocations: 20.5 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.006905, allocations: 27.84 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.008821, allocations: 373 kB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.00934, allocations: 0.6087 MB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.009431, allocations: 22.39 kB / 0.8828 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.009893, allocations: 427.4 kB / 0.8832 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.01013, allocations: 133.6 kB / 0.8834 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.0102, allocations: 40 kB / 0.8834 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.01026, allocations: 45.09 kB / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01038, allocations: 127.6 kB / 0.8836 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01052, allocations: 143.7 kB / 0.8837 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.0109, allocations: 435.8 kB / 0.8841 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.0109, allocations: 0 / 0.8841 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.0109, allocations: 4.719 kB / 0.8841 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.01091, allocations: 0 / 0.8841 GB, free: 1.199 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.0009689/0.01188, allocations: 0.9567 MB / 0.885 GB, free: 172 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.01191, allocations: 12.03 kB / 0.8851 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.012, allocations: 60.66 kB / 0.8851 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.01225, allocations: 274.8 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.01228, allocations: 24.36 kB / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.01233, allocations: 32.3 kB / 0.8854 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01265, allocations: 215.1 kB / 0.8856 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.01265, allocations: 192 / 0.8856 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.01267, allocations: 8.375 kB / 0.8856 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.01268, allocations: 4.375 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.01276, allocations: 55.84 kB / 0.8857 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.01339, allocations: 0.539 MB / 0.8862 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.01356, allocations: 123 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.01364, allocations: 55.66 kB / 0.8864 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01365, allocations: 4 kB / 0.8864 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.01383, allocations: 188.9 kB / 0.8866 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.01383, allocations: 0 / 0.8866 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004641/0.01429, allocations: 357.2 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.01433, allocations: 63.41 kB / 0.887 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.01457, allocations: 426.5 kB / 0.8874 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.0146, allocations: 41.7 kB / 0.8874 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.01466, allocations: 160.1 kB / 0.8876 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.01469, allocations: 39.66 kB / 0.8876 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.01482, allocations: 147 kB / 0.8878 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01493, allocations: 0.4962 MB / 0.8882 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.01509, allocations: 167.3 kB / 0.8884 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.01526, allocations: 242.7 kB / 0.8886 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.01546, allocations: 267.2 kB / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01546, allocations: 0 / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004871/0.01594, allocations: 0.5468 MB / 0.8894 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.016, allocations: 87.38 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.016, allocations: 4 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.01601, allocations: 0 / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01611, allocations: 40.16 kB / 0.8895 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01612, allocations: 7.938 kB / 0.8896 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.0163, allocations: 43.86 kB / 0.8896 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.01635, allocations: 59.98 kB / 0.8897 GB, free: 11.15 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.0001175/0.01647, allocations: 187.2 kB / 0.8898 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.01652, allocations: 51.66 kB / 0.8899 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.01656, allocations: 43.59 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01656, allocations: 4 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01656, allocations: 4 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01657, allocations: 0 / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.01714, allocations: 0.6262 MB / 0.8905 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01714, allocations: 4 kB / 0.8905 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.01716, allocations: 7.922 kB / 0.8906 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01716, allocations: 4 kB / 0.8906 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.01719, allocations: 23.97 kB / 0.8906 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01719, allocations: 0 / 0.8906 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01719, allocations: 4 kB / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.01754, allocations: 455.9 kB / 0.891 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.01771, allocations: 165.5 kB / 0.8912 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.01776, allocations: 16 kB / 0.8912 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.0179, allocations: 19.97 kB / 0.8912 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.01792, allocations: 11.98 kB / 0.8912 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.01796, allocations: 59.98 kB / 0.8913 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001336/0.01809, allocations: 271 kB / 0.8915 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01809, allocations: 4 kB / 0.8915 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002249/0.01832, allocations: 72 kB / 0.8916 GB, free: 9.082 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 9.765e-05/0.01842, allocations: 123.9 kB / 0.8917 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.01882, allocations: 429.6 kB / 0.8921 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01882, allocations: 384 / 0.8921 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.01892, allocations: 79.58 kB / 0.8922 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.0192, allocations: 70.72 kB / 0.8923 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.01981, allocations: 498.8 kB / 0.8928 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.01986, allocations: 87.81 kB / 0.8928 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.01992, allocations: 13.48 kB / 0.8929 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.02015, allocations: 150.2 kB / 0.893 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.02015, allocations: 3.938 kB / 0.893 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of Templates: time 0.006751/0.0269, allocations: 6.062 MB / 0.8989 GB, free: 1.453 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.421129788737744]