Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002259/0.002259, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.00209/0.00209, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.34 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.027/3.027, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8107 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.386e-05, allocations: 3.188 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002791/0.002815, allocations: 1.551 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004188, allocations: 0.5337 MB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.004234, allocations: 0 / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.004334, allocations: 12.52 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.004449, allocations: 31.73 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.005282, allocations: 316.6 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.005892, allocations: 489.8 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.005923, allocations: 0 / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.006466, allocations: 359.6 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.006766, allocations: 123.7 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.006913, allocations: 28 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.007012, allocations: 25.38 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.007166, allocations: 123.6 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.007356, allocations: 123.7 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.008017, allocations: 463.7 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.008019, allocations: 4 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.126e-06/0.008022, allocations: 3.984 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.008028, allocations: 0.9375 kB / 0.8148 GB, free: 14.03 MB / 0.7761 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.00144/0.009467, allocations: 0.918 MB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.009503, allocations: 8.906 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.009659, allocations: 60.69 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.01017, allocations: 259.9 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.01022, allocations: 16.36 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.01031, allocations: 32.36 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.01096, allocations: 203.5 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.01097, allocations: 192 / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.011, allocations: 6.297 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.011, allocations: 384 / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.01142, allocations: 83.89 kB / 0.8163 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.01192, allocations: 332.4 kB / 0.8167 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.01254, allocations: 148.5 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.01297, allocations: 92.66 kB / 0.8169 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.01299, allocations: 0.5312 kB / 0.8169 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.01359, allocations: 218.3 kB / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.01359, allocations: 0.6875 kB / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.001636/0.01523, allocations: 439.3 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.01528, allocations: 59.34 kB / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.01583, allocations: 472 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.0159, allocations: 41.69 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01602, allocations: 148.1 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.01607, allocations: 36.64 kB / 0.8182 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.0163, allocations: 139.1 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.01657, allocations: 0.4962 MB / 0.8189 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.01696, allocations: 212.1 kB / 0.8191 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.0174, allocations: 293.1 kB / 0.8193 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.01791, allocations: 313.3 kB / 0.8196 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01791, allocations: 0 / 0.8196 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001118/0.01903, allocations: 0.6259 MB / 0.8202 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.814e-05/0.01912, allocations: 79.38 kB / 0.8203 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01913, allocations: 0 / 0.8203 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01915, allocations: 4 kB / 0.8203 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.01935, allocations: 35.91 kB / 0.8204 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.01937, allocations: 7.938 kB / 0.8204 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.01974, allocations: 45.58 kB / 0.8204 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.01984, allocations: 59.98 kB / 0.8205 GB, free: 7.875 MB / 0.7761 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.0002095/0.02005, allocations: 197.6 kB / 0.8207 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.02014, allocations: 47.75 kB / 0.8207 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.02021, allocations: 31.69 kB / 0.8207 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.02021, allocations: 5.062 kB / 0.8207 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.02022, allocations: 0 / 0.8207 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02022, allocations: 3.938 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.02197, allocations: 0.7442 MB / 0.8215 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02197, allocations: 4 kB / 0.8215 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.02201, allocations: 7.938 kB / 0.8215 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.02201, allocations: 0.6562 kB / 0.8215 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.02206, allocations: 27.91 kB / 0.8215 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02206, allocations: 2.469 kB / 0.8215 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02206, allocations: 0 / 0.8215 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.02332, allocations: 499.9 kB / 0.822 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.02366, allocations: 132.4 kB / 0.8221 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.02374, allocations: 19.94 kB / 0.8221 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.02402, allocations: 15.98 kB / 0.8221 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.02406, allocations: 7.984 kB / 0.8222 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.02415, allocations: 63.97 kB / 0.8222 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003259/0.02448, allocations: 287.1 kB / 0.8225 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02448, allocations: 0 / 0.8225 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003572/0.02484, allocations: 64.94 kB / 0.8225 GB, free: 5.676 MB / 0.7761 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.0001682/0.025, allocations: 122.2 kB / 0.8227 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.02618, allocations: 0.5862 MB / 0.8232 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.02619, allocations: 5.125 kB / 0.8232 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.02664, allocations: 104.8 kB / 0.8233 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.02705, allocations: 59.42 kB / 0.8234 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.02815, allocations: 0.4896 MB / 0.8239 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.02835, allocations: 168.4 kB / 0.824 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.02841, allocations: 14.22 kB / 0.824 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.02846, allocations: 20.48 kB / 0.8241 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.02846, allocations: 0 / 0.8241 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of Templates: time 0.01132/0.03978, allocations: 5.979 MB / 0.8299 GB, free: 14 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.067761920043267]