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.001353/0.001353, allocations: 83.73 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001427/0.001427, allocations: 161.8 kB / 23 MB, free: 4.945 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] 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.949/2.949, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8353, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002343/0.8377, allocations: 1.524 MB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.8388, allocations: 0.5274 MB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.8388, allocations: 1.375 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.54e-05/0.8389, allocations: 9.609 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.839, allocations: 33.92 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.8399, allocations: 319.6 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008357/0.8407, allocations: 486 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.8408, allocations: 9.141 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.8414, allocations: 283.3 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.8417, allocations: 140.6 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.8418, allocations: 25.66 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.8419, allocations: 26.84 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.8421, allocations: 114.8 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.8423, allocations: 158.4 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.8428, allocations: 430.4 kB / 1.191 GB, free: 13.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8428, allocations: 0 / 1.191 GB, free: 13.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8428, allocations: 0 / 1.191 GB, free: 13.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8428, allocations: 1.125 kB / 1.191 GB, free: 13.97 MB / 1.076 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.001165/0.844, allocations: 0.7955 MB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.844, allocations: 8.906 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.8441, allocations: 52.89 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.8445, allocations: 267.2 kB / 1.192 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.8445, allocations: 18.8 kB / 1.192 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.8446, allocations: 28.91 kB / 1.192 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.8456, allocations: 228.5 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8456, allocations: 0.9375 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.8456, allocations: 5.781 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.8456, allocations: 2.188 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.8464, allocations: 118.8 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.8467, allocations: 275.8 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.8477, allocations: 177.5 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/0.8485, allocations: 125.1 kB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.8485, allocations: 2.859 kB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009646/0.8495, allocations: 238.2 kB / 1.193 GB, free: 12.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.8495, allocations: 0 / 1.193 GB, free: 12.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002532/0.852, allocations: 0.5276 MB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.852, allocations: 64.8 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.8524, allocations: 411.3 kB / 1.194 GB, free: 12.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.8525, allocations: 45.56 kB / 1.194 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.8525, allocations: 95.06 kB / 1.194 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.8526, allocations: 38.05 kB / 1.194 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.8527, allocations: 129.4 kB / 1.194 GB, free: 12.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.8528, allocations: 325.2 kB / 1.194 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.8531, allocations: 192.6 kB / 1.195 GB, free: 11.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.8534, allocations: 250.3 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.8537, allocations: 276.4 kB / 1.195 GB, free: 11.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8537, allocations: 0 / 1.195 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007871/0.8545, allocations: 0.5565 MB / 1.196 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.8546, allocations: 80.19 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8546, allocations: 6.531 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8546, allocations: 11.11 kB / 1.196 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.8548, allocations: 18.94 kB / 1.196 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.8548, allocations: 7.281 kB / 1.196 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.8553, allocations: 69.22 kB / 1.196 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.8553, allocations: 62.84 kB / 1.196 GB, free: 10.9 MB / 1.076 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.0001832/0.8555, allocations: 189.7 kB / 1.196 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.8556, allocations: 37.98 kB / 1.196 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.8556, allocations: 50 kB / 1.196 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8556, allocations: 9.688 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8556, allocations: 1.094 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8557, allocations: 0.7031 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.8578, allocations: 0.7121 MB / 1.197 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8578, allocations: 7.875 kB / 1.197 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.8579, allocations: 9.469 kB / 1.197 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8579, allocations: 0 / 1.197 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.8579, allocations: 20.59 kB / 1.197 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8579, allocations: 4.938 kB / 1.197 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8579, allocations: 0.75 kB / 1.197 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.8597, allocations: 0.5045 MB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.8599, allocations: 137 kB / 1.197 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.86, allocations: 10.97 kB / 1.197 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.8605, allocations: 34.94 kB / 1.197 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.8605, allocations: 12.47 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.8606, allocations: 57.59 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000284/0.8609, allocations: 294.2 kB / 1.198 GB, free: 9.953 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8609, allocations: 0 / 1.198 GB, free: 9.953 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000356/0.8612, allocations: 64.95 kB / 1.198 GB, free: 9.949 MB / 1.076 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.0001178/0.8614, allocations: 126.5 kB / 1.198 GB, free: 9.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.8626, allocations: 488.7 kB / 1.198 GB, free: 9.578 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8626, allocations: 0 / 1.198 GB, free: 9.578 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.8633, allocations: 131.4 kB / 1.199 GB, free: 9.555 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.8637, allocations: 29.7 kB / 1.199 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.8651, allocations: 0.5607 MB / 1.199 GB, free: 9.242 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.8653, allocations: 169.1 kB / 1.199 GB, free: 9.156 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.8653, allocations: 15.22 kB / 1.199 GB, free: 9.148 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.8653, allocations: 17.64 kB / 1.199 GB, free: 9.141 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.8653, allocations: 0 / 1.199 GB, free: 9.141 MB / 1.076 GB Notification: Performance of Templates: time 0.009806/0.8752, allocations: 6.133 MB / 1.205 GB, free: 7.816 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.52748431393411]