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.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001064/0.001064, allocations: 173 kB / 23.49 MB, free: 1.059 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.9897/0.9897, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.6736 GB, free: 4.047 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.733e-06/1.733e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.699e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00273/0.002757, allocations: 1.804 MB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004127, allocations: 0.6166 MB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.004225, allocations: 1.219 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.004325, allocations: 8.75 kB / 0.8806 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004452, allocations: 35.78 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.005303, allocations: 374.6 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.005956, allocations: 0.597 MB / 0.8816 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.006075, allocations: 21.28 kB / 0.8816 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.006675, allocations: 419.6 kB / 0.882 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.006976, allocations: 139.7 kB / 0.8821 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.007049, allocations: 40.59 kB / 0.8822 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.007116, allocations: 41.56 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.00725, allocations: 135.6 kB / 0.8824 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.007411, allocations: 139.7 kB / 0.8825 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.007883, allocations: 442.7 kB / 0.8829 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.007887, allocations: 0 / 0.8829 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007888, allocations: 1.469 kB / 0.8829 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.007895, allocations: 0 / 0.8829 GB, free: 1.805 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.001175/0.00907, allocations: 0.947 MB / 0.8838 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.009111, allocations: 8.031 kB / 0.8838 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.009267, allocations: 64.66 kB / 0.8839 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.009642, allocations: 282.8 kB / 0.8842 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.009694, allocations: 28.3 kB / 0.8842 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.009765, allocations: 32.36 kB / 0.8842 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.01026, allocations: 211.2 kB / 0.8844 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.01027, allocations: 8.188 kB / 0.8844 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.0103, allocations: 8.359 kB / 0.8844 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.01031, allocations: 4.375 kB / 0.8845 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.01046, allocations: 57.8 kB / 0.8845 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.01151, allocations: 0.6125 MB / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.01179, allocations: 131 kB / 0.8852 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.01193, allocations: 71.59 kB / 0.8853 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01196, allocations: 4 kB / 0.8853 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.01224, allocations: 193 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.01224, allocations: 3.938 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0007512/0.01299, allocations: 365.2 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.01304, allocations: 63.39 kB / 0.8859 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.01344, allocations: 438.7 kB / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.01349, allocations: 41.7 kB / 0.8864 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.01358, allocations: 148.1 kB / 0.8865 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.01363, allocations: 39.73 kB / 0.8865 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.01382, allocations: 143.1 kB / 0.8867 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01395, allocations: 0.4961 MB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.01425, allocations: 187.2 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.01455, allocations: 249.9 kB / 0.8876 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.01489, allocations: 279 kB / 0.8878 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01489, allocations: 0 / 0.8878 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008168/0.01571, allocations: 0.5742 MB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.01578, allocations: 91.38 kB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01579, allocations: 0 / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01581, allocations: 8.188 kB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01598, allocations: 35.91 kB / 0.8885 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.01599, allocations: 4 kB / 0.8885 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.01624, allocations: 43.86 kB / 0.8886 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.01632, allocations: 67.97 kB / 0.8886 GB, free: 11.56 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.000172/0.01649, allocations: 187.1 kB / 0.8888 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.01657, allocations: 51.66 kB / 0.8889 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.01663, allocations: 35.72 kB / 0.8889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01663, allocations: 8 kB / 0.8889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01664, allocations: 0 / 0.8889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01664, allocations: 0 / 0.8889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.01755, allocations: 0.6998 MB / 0.8896 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01755, allocations: 3.938 kB / 0.8896 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.01759, allocations: 7.984 kB / 0.8896 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01759, allocations: 4 kB / 0.8896 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.01763, allocations: 19.98 kB / 0.8896 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01763, allocations: 4 kB / 0.8896 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01763, allocations: 0 / 0.8896 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.01818, allocations: 471.8 kB / 0.8901 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.01842, allocations: 165.5 kB / 0.8902 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.0185, allocations: 20 kB / 0.8903 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.01872, allocations: 23.97 kB / 0.8903 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.01876, allocations: 11.97 kB / 0.8903 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.01882, allocations: 55.98 kB / 0.8903 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002314/0.01905, allocations: 283.1 kB / 0.8906 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01905, allocations: 0 / 0.8906 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003694/0.01942, allocations: 71.98 kB / 0.8907 GB, free: 9.391 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.0001568/0.01958, allocations: 120.2 kB / 0.8908 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.02021, allocations: 450.3 kB / 0.8912 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02022, allocations: 4.062 kB / 0.8912 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02038, allocations: 85.98 kB / 0.8913 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.02078, allocations: 53.61 kB / 0.8914 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.02155, allocations: 498.8 kB / 0.8918 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.02162, allocations: 91.8 kB / 0.8919 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.18e-05/0.02167, allocations: 17.48 kB / 0.8919 GB, free: 8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.02171, allocations: 20.5 kB / 0.892 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.02171, allocations: 0 / 0.892 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.009188/0.0309, allocations: 6.416 MB / 0.8982 GB, free: 1.523 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.541069091996178]