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.001315/0.001315, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001431/0.001431, allocations: 181 kB / 24.08 MB, free: 424 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.9008/0.9008, allocations: 177.1 MB / 204.5 MB, free: 5.465 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.786/1.786, allocations: 359 MB / 0.6055 GB, free: 10.87 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.573e-06/1.573e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.605e-05, allocations: 5.391 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00182/0.001836, allocations: 1.552 MB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002848, allocations: 0.5332 MB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.002919, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003042, allocations: 15.8 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003163, allocations: 23.88 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.003735, allocations: 326.5 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.004099, allocations: 483.4 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.479e-05/0.004134, allocations: 4 kB / 0.7904 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.004463, allocations: 356.5 kB / 0.7907 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.00466, allocations: 139.9 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.004714, allocations: 28 kB / 0.7909 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.883e-05/0.004763, allocations: 31.94 kB / 0.7909 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.004854, allocations: 112.7 kB / 0.791 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/0.004951, allocations: 131.7 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.005527, allocations: 382.1 kB / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005529, allocations: 0 / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005529, allocations: 0 / 0.7915 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005533, allocations: 0 / 0.7915 GB, free: 8.184 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.0007889/0.006322, allocations: 0.9144 MB / 0.7924 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.006362, allocations: 12.03 kB / 0.7924 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.006449, allocations: 60.64 kB / 0.7925 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.006672, allocations: 255.6 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.006703, allocations: 20.36 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.006746, allocations: 33.95 kB / 0.7927 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.007063, allocations: 201.7 kB / 0.7929 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.00707, allocations: 192 / 0.7929 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.007086, allocations: 4.922 kB / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.007093, allocations: 9.766 kB / 0.793 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.007177, allocations: 52.83 kB / 0.793 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.007393, allocations: 253.5 kB / 0.7932 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.007551, allocations: 111.6 kB / 0.7934 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.048e-05/0.007632, allocations: 67.75 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.007651, allocations: 0.5 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.007816, allocations: 178.3 kB / 0.7936 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.007817, allocations: 2.062 kB / 0.7936 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004674/0.008285, allocations: 360.7 kB / 0.7939 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.008324, allocations: 67.33 kB / 0.794 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.008561, allocations: 414.5 kB / 0.7944 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.008595, allocations: 41.7 kB / 0.7944 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.008662, allocations: 148.1 kB / 0.7946 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.008698, allocations: 35.72 kB / 0.7946 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.008818, allocations: 139 kB / 0.7947 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.008945, allocations: 0.4961 MB / 0.7952 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.009117, allocations: 171.3 kB / 0.7954 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.00928, allocations: 225.1 kB / 0.7956 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.009472, allocations: 266 kB / 0.7959 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009474, allocations: 0 / 0.7959 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004734/0.009948, allocations: 0.5213 MB / 0.7964 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.01001, allocations: 83.38 kB / 0.7964 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01002, allocations: 0 / 0.7964 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01003, allocations: 8.188 kB / 0.7965 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01014, allocations: 35.91 kB / 0.7965 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01015, allocations: 4 kB / 0.7965 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.0103, allocations: 55.73 kB / 0.7965 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.01036, allocations: 59.97 kB / 0.7966 GB, free: 2.625 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.0001108/0.01047, allocations: 184.5 kB / 0.7968 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.01051, allocations: 51.75 kB / 0.7968 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.01056, allocations: 27.69 kB / 0.7969 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01056, allocations: 4 kB / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01056, allocations: 4 kB / 0.7969 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01056, allocations: 0 / 0.7969 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.01114, allocations: 0.6111 MB / 0.7975 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01114, allocations: 0 / 0.7975 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.592e-05/0.01117, allocations: 7.984 kB / 0.7975 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01117, allocations: 0 / 0.7975 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.01119, allocations: 19.98 kB / 0.7975 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01119, allocations: 3.984 kB / 0.7975 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01119, allocations: 11.88 kB / 0.7975 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.01155, allocations: 450.5 kB / 0.7979 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.01169, allocations: 133.5 kB / 0.7981 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.01173, allocations: 12 kB / 0.7981 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.0119, allocations: 27.97 kB / 0.7981 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.01193, allocations: 15.92 kB / 0.7981 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.01197, allocations: 63.97 kB / 0.7982 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004415/0.01241, allocations: 255 kB / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01241, allocations: 0 / 0.7984 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002107/0.01262, allocations: 67.98 kB / 0.7985 GB, free: 0.6367 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 0.0001002/0.01272, allocations: 125.1 kB / 0.7986 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.01313, allocations: 417.6 kB / 0.799 GB, free: 56 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01313, allocations: 0 / 0.799 GB, free: 56 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01324, allocations: 79.91 kB / 0.7991 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01346, allocations: 50.23 kB / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.01409, allocations: 485.2 kB / 0.7996 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.01414, allocations: 87.81 kB / 0.7997 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.01418, allocations: 21.12 kB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.01434, allocations: 138.2 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.01434, allocations: 0 / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.007156/0.02149, allocations: 5.444 MB / 0.8051 GB, free: 9.672 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.433878836687654]