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.001689/0.001689, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002148/0.002148, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 0.49 GB / 0.7959 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001994/0.001994, allocations: 68.03 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.45, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003137/0.4531, allocations: 1.517 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.4546, allocations: 0.5206 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.4546, allocations: 7.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.4547, allocations: 11.92 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4549, allocations: 23.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.4558, allocations: 326 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.4563, allocations: 483.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.4564, allocations: 8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.4568, allocations: 287.6 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.4571, allocations: 147.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.4572, allocations: 24 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.4573, allocations: 28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.4574, allocations: 115.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4576, allocations: 155.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.4581, allocations: 434.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4581, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4581, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4581, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 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.00141/0.4595, allocations: 0.795 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4596, allocations: 16.03 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.4597, allocations: 48.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.4602, allocations: 268.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.4602, allocations: 16.36 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.4603, allocations: 24.38 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4614, allocations: 210 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4614, allocations: 4.188 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.4614, allocations: 7.938 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4614, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.4622, allocations: 103.9 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.4627, allocations: 281.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4638, allocations: 170.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007881/0.4646, allocations: 100.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.4646, allocations: 3.984 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.4657, allocations: 223.2 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.4657, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0028/0.4685, allocations: 498.5 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4685, allocations: 55.41 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.469, allocations: 417.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.4691, allocations: 37.7 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.4692, allocations: 97.44 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.4693, allocations: 39.67 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4695, allocations: 129.5 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4696, allocations: 322.8 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.47, allocations: 187.3 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.4704, allocations: 257.2 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.4707, allocations: 266.1 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4707, allocations: 0 / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009503/0.4717, allocations: 0.5444 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.4718, allocations: 87.39 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4718, allocations: 4 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4718, allocations: 3.938 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.472, allocations: 27.92 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.472, allocations: 4 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.4725, allocations: 55.84 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.4726, allocations: 55.98 kB / 1.336 GB, free: 7.375 MB / 1.029 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.0002695/0.4729, allocations: 202.2 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.473, allocations: 39.72 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.164e-05/0.473, allocations: 43.62 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.473, allocations: 11.92 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.473, allocations: 0 / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4731, allocations: 3.984 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.4754, allocations: 0.6765 MB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4754, allocations: 3.938 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.4755, allocations: 4 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.4755, allocations: 7.938 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.4755, allocations: 27.97 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4755, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4755, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.4774, allocations: 487.4 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4778, allocations: 133.9 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.4778, allocations: 8 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.4784, allocations: 31.97 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4784, allocations: 11.98 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.4785, allocations: 63.97 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003246/0.4788, allocations: 291.1 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4788, allocations: 0 / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004154/0.4792, allocations: 67.98 kB / 1.338 GB, free: 5.227 MB / 1.029 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.000181/0.4794, allocations: 117 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.4808, allocations: 477.8 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4808, allocations: 0 / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008125/0.4816, allocations: 110.5 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.482, allocations: 34.12 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4836, allocations: 0.5552 MB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4838, allocations: 163 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.911e-05/0.4839, allocations: 13.08 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.4839, allocations: 15.44 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4839, allocations: 0 / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of Templates: time 0.01149/0.4954, allocations: 6.171 MB / 1.346 GB, free: 13.43 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 10.4282221619942]