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.001001/0.001001, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001127/0.001127, allocations: 169.4 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 0.972/0.972, allocations: 177.1 MB / 204.5 MB, free: 4.789 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.08/2.08, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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 2.234e-06/2.234e-06, allocations: 0 / 0.8793 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.168e-05, allocations: 5.922 kB / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002493/0.002525, allocations: 1.564 MB / 0.8809 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.00359, allocations: 0.5346 MB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.003656, allocations: 3.938 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.003765, allocations: 8.688 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.003889, allocations: 29.92 kB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.004563, allocations: 312.8 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000404/0.004967, allocations: 491.4 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.00501, allocations: 9.234 kB / 0.8822 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.005366, allocations: 355.5 kB / 0.8826 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.005571, allocations: 131 kB / 0.8827 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.005619, allocations: 28 kB / 0.8827 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.005668, allocations: 28 kB / 0.8827 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.005763, allocations: 111.7 kB / 0.8828 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.005876, allocations: 135.7 kB / 0.883 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.006189, allocations: 374.9 kB / 0.8833 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.006191, allocations: 0 / 0.8833 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006191, allocations: 0 / 0.8833 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006196, allocations: 0 / 0.8833 GB, free: 2.023 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.0008913/0.007087, allocations: 0.9126 MB / 0.8842 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.007126, allocations: 11.97 kB / 0.8842 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.007228, allocations: 64.69 kB / 0.8843 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.007485, allocations: 250.9 kB / 0.8845 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.00752, allocations: 17.8 kB / 0.8845 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.007569, allocations: 32.36 kB / 0.8846 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.007887, allocations: 198.7 kB / 0.8848 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007896, allocations: 192 / 0.8848 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.007915, allocations: 4.375 kB / 0.8848 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.007921, allocations: 384 / 0.8848 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.008008, allocations: 55.91 kB / 0.8848 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.008266, allocations: 252.9 kB / 0.8851 GB, free: 112 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.008447, allocations: 122.9 kB / 0.8852 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.00853, allocations: 63.61 kB / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.008547, allocations: 4 kB / 0.8852 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.008727, allocations: 176.8 kB / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.008729, allocations: 0 / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005151/0.009244, allocations: 364.3 kB / 0.8858 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.009278, allocations: 59.39 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.009509, allocations: 418.5 kB / 0.8862 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.009546, allocations: 37.7 kB / 0.8863 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.009615, allocations: 144.2 kB / 0.8864 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.009654, allocations: 43.67 kB / 0.8864 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.009777, allocations: 135.1 kB / 0.8866 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.009901, allocations: 0.4961 MB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.01006, allocations: 163.3 kB / 0.8872 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.01023, allocations: 234 kB / 0.8874 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01042, allocations: 254.3 kB / 0.8877 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01043, allocations: 0 / 0.8877 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00049/0.01092, allocations: 0.5352 MB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.01097, allocations: 81.56 kB / 0.8883 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01097, allocations: 7.984 kB / 0.8883 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01098, allocations: 0 / 0.8883 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01109, allocations: 31.92 kB / 0.8883 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.0111, allocations: 4 kB / 0.8883 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.01127, allocations: 55.73 kB / 0.8884 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.01133, allocations: 64.16 kB / 0.8884 GB, free: 12.43 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.0001235/0.01145, allocations: 184.5 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.0115, allocations: 51.72 kB / 0.8886 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.01154, allocations: 31.69 kB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01154, allocations: 4 kB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01154, allocations: 0 / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01155, allocations: 3.984 kB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.01214, allocations: 0.6072 MB / 0.8893 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01214, allocations: 4 kB / 0.8893 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.01216, allocations: 4 kB / 0.8893 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01217, allocations: 4 kB / 0.8893 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.01219, allocations: 23.97 kB / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01219, allocations: 0 / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01219, allocations: 3.938 kB / 0.8893 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.01255, allocations: 444 kB / 0.8897 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.01269, allocations: 125.5 kB / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.01274, allocations: 8 kB / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.01289, allocations: 27.09 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.01291, allocations: 15.92 kB / 0.8899 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.01295, allocations: 59.92 kB / 0.89 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001316/0.01309, allocations: 266.9 kB / 0.8902 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01309, allocations: 0 / 0.8902 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002246/0.01331, allocations: 71.98 kB / 0.8903 GB, free: 10.46 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.668e-05/0.01341, allocations: 113.2 kB / 0.8904 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.01381, allocations: 417.2 kB / 0.8908 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01381, allocations: 0 / 0.8908 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01391, allocations: 79.94 kB / 0.8909 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01415, allocations: 49.62 kB / 0.8909 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.01478, allocations: 474.9 kB / 0.8914 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01484, allocations: 83.81 kB / 0.8915 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01488, allocations: 21.12 kB / 0.8915 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.01504, allocations: 150.1 kB / 0.8916 GB, free: 9 MB / 0.8542 GB Notification: Performance of SimCode: time 6.42e-07/0.01504, allocations: 0 / 0.8916 GB, free: 9 MB / 0.8542 GB Notification: Performance of Templates: time 0.006677/0.02172, allocations: 5.587 MB / 0.8971 GB, free: 3.344 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.969551558140665]