Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.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.0009179/0.0009179, allocations: 92.22 kB / 19.65 MB, free: 276 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.001473/0.001473, allocations: 173 kB / 23.03 MB, free: 1.543 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.9583/0.9583, allocations: 177.1 MB / 203.4 MB, free: 5.164 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.078/2.078, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.048e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001774/0.001794, allocations: 1.568 MB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.002773, allocations: 0.5412 MB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.002836, allocations: 4.906 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.002952, allocations: 7.922 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.003081, allocations: 28.41 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.003908, allocations: 316.3 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.004274, allocations: 491.4 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.004309, allocations: 4 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.004624, allocations: 356.7 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.004811, allocations: 128.9 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.004871, allocations: 28 kB / 0.8815 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.004919, allocations: 28 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.005009, allocations: 120.7 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.005113, allocations: 123.7 kB / 0.8817 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.005398, allocations: 378.9 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.0054, allocations: 4.688 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.0054, allocations: 0 / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.005405, allocations: 1.562 kB / 0.8821 GB, free: 2.258 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008236/0.006228, allocations: 0.9066 MB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.006261, allocations: 12.03 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.006363, allocations: 62.31 kB / 0.8831 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.006602, allocations: 258.8 kB / 0.8833 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.006638, allocations: 16.36 kB / 0.8833 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.006685, allocations: 32.36 kB / 0.8834 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.007026, allocations: 203 kB / 0.8836 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.007034, allocations: 192 / 0.8836 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.007055, allocations: 8.375 kB / 0.8836 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007063, allocations: 1.469 kB / 0.8836 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.00716, allocations: 55.91 kB / 0.8836 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.007445, allocations: 324.3 kB / 0.8839 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.00765, allocations: 123 kB / 0.884 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.007747, allocations: 67.66 kB / 0.8841 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.00777, allocations: 4 kB / 0.8841 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.00799, allocations: 180.9 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.007992, allocations: 0 / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005545/0.008546, allocations: 381.2 kB / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.008588, allocations: 55.41 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.00887, allocations: 426.6 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.008908, allocations: 45.62 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.008975, allocations: 144.2 kB / 0.8853 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.009013, allocations: 39.7 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.009143, allocations: 131.1 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.009264, allocations: 0.4923 MB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.009464, allocations: 175.3 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.009674, allocations: 246.1 kB / 0.8863 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.009936, allocations: 275.1 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.009939, allocations: 0 / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005372/0.01048, allocations: 0.5643 MB / 0.8871 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.01053, allocations: 85.72 kB / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01053, allocations: 4 kB / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01054, allocations: 0 / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01066, allocations: 31.97 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.01067, allocations: 11.88 kB / 0.8873 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01085, allocations: 47.86 kB / 0.8873 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.01103, allocations: 59.92 kB / 0.8874 GB, free: 12.5 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001109/0.01114, allocations: 196.6 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.01119, allocations: 47.72 kB / 0.8876 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.01122, allocations: 35.67 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01123, allocations: 0 / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01123, allocations: 4 kB / 0.8876 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01123, allocations: 3.938 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.01186, allocations: 0.6685 MB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01186, allocations: 0 / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.01188, allocations: 15.94 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01189, allocations: 4 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.01191, allocations: 27.91 kB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01191, allocations: 0 / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01191, allocations: 0 / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01227, allocations: 456 kB / 0.8888 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.01239, allocations: 121.5 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.01244, allocations: 15.94 kB / 0.8889 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01258, allocations: 23.97 kB / 0.8889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.01261, allocations: 11.98 kB / 0.889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.01265, allocations: 55.97 kB / 0.889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001513/0.0128, allocations: 275.1 kB / 0.8893 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 0 / 0.8893 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002083/0.01301, allocations: 67.92 kB / 0.8893 GB, free: 10.42 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.231e-05/0.0131, allocations: 113.2 kB / 0.8894 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.01351, allocations: 434.1 kB / 0.8899 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01351, allocations: 0 / 0.8899 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.01361, allocations: 86.62 kB / 0.8899 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.01386, allocations: 58.88 kB / 0.89 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.01451, allocations: 486.9 kB / 0.8905 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.01455, allocations: 87.8 kB / 0.8905 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.01459, allocations: 13.16 kB / 0.8906 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.01462, allocations: 20.48 kB / 0.8906 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01462, allocations: 0 / 0.8906 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.007107/0.02173, allocations: 6.587 MB / 0.897 GB, free: 2.402 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.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.8689761948771775]