Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009154/0.0009154, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009315/0.0009315, allocations: 173 kB / 24.28 MB, free: 276 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.9591/0.9591, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.52e-05, allocations: 3.375 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001725/0.00174, allocations: 1.56 MB / 0.7886 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.002669, allocations: 0.5357 MB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.002722, allocations: 9.562 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.921e-05/0.002812, allocations: 3.938 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.002913, allocations: 27.84 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.003482, allocations: 308.5 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.003835, allocations: 491.4 kB / 0.7899 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.003874, allocations: 8.547 kB / 0.7899 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.004193, allocations: 351.6 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.00438, allocations: 135 kB / 0.7904 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.004426, allocations: 24 kB / 0.7904 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.004471, allocations: 28.66 kB / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.004572, allocations: 123.6 kB / 0.7905 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.004678, allocations: 133.3 kB / 0.7906 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.004968, allocations: 370.9 kB / 0.791 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00497, allocations: 3.938 kB / 0.791 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00497, allocations: 0 / 0.791 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004975, allocations: 3.531 kB / 0.791 GB, free: 8.793 MB / 0.7448 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.0008031/0.005778, allocations: 0.9028 MB / 0.7919 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.005814, allocations: 12.02 kB / 0.7919 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.005917, allocations: 64.66 kB / 0.792 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.00616, allocations: 266.8 kB / 0.7922 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.006194, allocations: 16.38 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.006243, allocations: 32.36 kB / 0.7923 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.006593, allocations: 200.8 kB / 0.7925 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.006599, allocations: 4.188 kB / 0.7925 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.006618, allocations: 384 / 0.7925 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006626, allocations: 5.203 kB / 0.7925 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.006728, allocations: 60.66 kB / 0.7925 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.007009, allocations: 312.4 kB / 0.7928 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.007201, allocations: 126.5 kB / 0.7929 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.007297, allocations: 64.75 kB / 0.793 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.007316, allocations: 9.484 kB / 0.793 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.007511, allocations: 176.9 kB / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.007512, allocations: 0.6562 kB / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005191/0.008031, allocations: 393.1 kB / 0.7936 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.008064, allocations: 55.41 kB / 0.7936 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.008327, allocations: 426.7 kB / 0.794 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.00836, allocations: 41.64 kB / 0.7941 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.008422, allocations: 148.1 kB / 0.7942 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.008458, allocations: 39.72 kB / 0.7942 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.008576, allocations: 131.1 kB / 0.7944 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.008686, allocations: 0.4962 MB / 0.7948 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.008877, allocations: 175.3 kB / 0.795 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.009076, allocations: 249 kB / 0.7953 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.009302, allocations: 275.1 kB / 0.7955 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009305, allocations: 0 / 0.7955 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005359/0.009841, allocations: 0.5564 MB / 0.7961 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.009891, allocations: 85.72 kB / 0.7961 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.009896, allocations: 0 / 0.7961 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.009909, allocations: 4 kB / 0.7961 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01003, allocations: 39.91 kB / 0.7962 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01003, allocations: 3.938 kB / 0.7962 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01021, allocations: 47.86 kB / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.01026, allocations: 67.91 kB / 0.7963 GB, free: 3.051 MB / 0.7448 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.0001122/0.01037, allocations: 184.6 kB / 0.7965 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.01043, allocations: 51.75 kB / 0.7965 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.01047, allocations: 27.69 kB / 0.7965 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01047, allocations: 4 kB / 0.7966 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01048, allocations: 0 / 0.7966 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.01048, allocations: 11.92 kB / 0.7966 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.01112, allocations: 0.6692 MB / 0.7972 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01112, allocations: 0 / 0.7972 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.01114, allocations: 11.98 kB / 0.7972 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01114, allocations: 0 / 0.7972 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.01117, allocations: 23.92 kB / 0.7972 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01117, allocations: 4 kB / 0.7973 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01117, allocations: 3.984 kB / 0.7973 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.01154, allocations: 456 kB / 0.7977 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.01167, allocations: 125.5 kB / 0.7978 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.01172, allocations: 11.94 kB / 0.7978 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.01187, allocations: 19.98 kB / 0.7978 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.01189, allocations: 11.98 kB / 0.7979 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.01194, allocations: 63.91 kB / 0.7979 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001479/0.01208, allocations: 271.1 kB / 0.7982 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 0.7982 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002179/0.0123, allocations: 68 kB / 0.7982 GB, free: 0.9883 MB / 0.7448 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.893e-05/0.0124, allocations: 109.2 kB / 0.7983 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.01283, allocations: 437.6 kB / 0.7988 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01283, allocations: 0 / 0.7988 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.01294, allocations: 82.78 kB / 0.7988 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01319, allocations: 65.52 kB / 0.7989 GB, free: 260 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.01387, allocations: 490.7 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/0.01392, allocations: 83.81 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01396, allocations: 17.14 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.01399, allocations: 16.5 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of SimCode: time 6.12e-07/0.01399, allocations: 4 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.006343/0.02033, allocations: 5.978 MB / 0.8053 GB, free: 9.578 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.5076808128505945]