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.0009699/0.0009699, 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.001038/0.001038, 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.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.118/2.118, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.483e-06/1.483e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.388e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001902/0.001926, allocations: 1.57 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.00297, allocations: 0.5417 MB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.003031, allocations: 0 / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.003139, allocations: 8.641 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003245, allocations: 29.02 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.003866, allocations: 320.2 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.004241, allocations: 487.4 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.004281, allocations: 5.031 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.004617, allocations: 347.6 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.004824, allocations: 128.9 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.004882, allocations: 28 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.004933, allocations: 29.09 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.005041, allocations: 119.6 kB / 0.8816 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.005154, allocations: 131.7 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.005461, allocations: 375.9 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005463, allocations: 0 / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005463, allocations: 0 / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.005469, allocations: 0.7188 kB / 0.8821 GB, free: 2.277 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.000893/0.006362, allocations: 0.9149 MB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.006397, allocations: 9.469 kB / 0.883 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.006506, allocations: 60.7 kB / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.006768, allocations: 254.8 kB / 0.8833 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.006807, allocations: 20.36 kB / 0.8833 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.006855, allocations: 24.97 kB / 0.8834 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.007214, allocations: 210 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.007225, allocations: 1.281 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.007245, allocations: 12.36 kB / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007253, allocations: 384 / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.007356, allocations: 61.72 kB / 0.8836 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.007643, allocations: 316.3 kB / 0.8839 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.007838, allocations: 123 kB / 0.884 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.007944, allocations: 63.66 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.007967, allocations: 4 kB / 0.8841 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.008182, allocations: 188.9 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.008183, allocations: 0 / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005517/0.008735, allocations: 372.5 kB / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.008775, allocations: 63.39 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.009072, allocations: 430.6 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.009108, allocations: 37.7 kB / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.009174, allocations: 144.2 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.009218, allocations: 51.53 kB / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.009355, allocations: 131.1 kB / 0.8855 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.009491, allocations: 0.4923 MB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.009709, allocations: 175.3 kB / 0.8861 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.009938, allocations: 242.8 kB / 0.8863 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.0102, allocations: 279.4 kB / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01021, allocations: 0 / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006206/0.01083, allocations: 0.547 MB / 0.8871 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.01089, allocations: 87.36 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0109, allocations: 4 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01092, allocations: 7.984 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01105, allocations: 32.11 kB / 0.8873 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01105, allocations: 11.92 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01123, allocations: 43.88 kB / 0.8873 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.01129, allocations: 63.97 kB / 0.8874 GB, free: 12.52 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.0001198/0.01141, allocations: 184.5 kB / 0.8876 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.01146, allocations: 51.72 kB / 0.8876 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.01151, allocations: 31.67 kB / 0.8876 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01151, allocations: 4 kB / 0.8876 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01151, allocations: 0 / 0.8876 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01152, allocations: 7.938 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.0123, allocations: 0.677 MB / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.0123, allocations: 0 / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.01233, allocations: 8 kB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01233, allocations: 0 / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.01235, allocations: 27.91 kB / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01236, allocations: 0 / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01236, allocations: 0 / 0.8883 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.01275, allocations: 464 kB / 0.8888 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.01291, allocations: 121.5 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.01295, allocations: 15.94 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.0131, allocations: 15.98 kB / 0.8889 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.01314, allocations: 15.97 kB / 0.8889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.01318, allocations: 55.98 kB / 0.889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001607/0.01334, allocations: 271.1 kB / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01334, allocations: 0 / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000222/0.01356, allocations: 75.98 kB / 0.8893 GB, free: 10.44 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 0.0001028/0.01367, allocations: 105.2 kB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.01419, allocations: 437 kB / 0.8899 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01419, allocations: 0 / 0.8899 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.0143, allocations: 87.89 kB / 0.8899 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01456, allocations: 51.25 kB / 0.89 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.01527, allocations: 483 kB / 0.8904 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01532, allocations: 87.81 kB / 0.8905 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01536, allocations: 13.12 kB / 0.8905 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01539, allocations: 20.5 kB / 0.8906 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01539, allocations: 0 / 0.8906 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.007963/0.02335, allocations: 5.982 MB / 0.8964 GB, free: 3.035 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: 6.13876267708838]