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.001961/0.001961, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002017/0.002017, allocations: 157.3 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.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.916/2.916, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.783e-06/1.783e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.499e-05, allocations: 7.406 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003006/0.003041, allocations: 1.536 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004421, allocations: 0.5245 MB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.004471, allocations: 9 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.004585, allocations: 7.922 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.004709, allocations: 36.3 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.005552, allocations: 312.9 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.006158, allocations: 487.4 kB / 0.7892 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.006194, allocations: 4 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.006882, allocations: 360.2 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.007198, allocations: 125.2 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.00733, allocations: 27.98 kB / 0.7897 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.007466, allocations: 28 kB / 0.7897 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.00763, allocations: 125 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.007828, allocations: 127.7 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.008426, allocations: 458.7 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.00843, allocations: 0 / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008431, allocations: 1.594 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.008437, allocations: 0 / 0.7904 GB, free: 8.719 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.001474/0.00991, allocations: 0.9258 MB / 0.7913 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.009943, allocations: 11.56 kB / 0.7913 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.0101, allocations: 56.7 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.01061, allocations: 270.7 kB / 0.7916 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.01067, allocations: 20.36 kB / 0.7916 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.01074, allocations: 24.36 kB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.01138, allocations: 194 kB / 0.7918 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.01138, allocations: 192 / 0.7918 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.01142, allocations: 4.375 kB / 0.7918 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.01143, allocations: 1.094 kB / 0.7918 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.01185, allocations: 88.56 kB / 0.7919 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.01236, allocations: 341 kB / 0.7922 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.01299, allocations: 159.1 kB / 0.7924 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.01341, allocations: 84.95 kB / 0.7925 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.01343, allocations: 4 kB / 0.7925 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.01403, allocations: 213.3 kB / 0.7927 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.01403, allocations: 4 kB / 0.7927 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.001628/0.01566, allocations: 439.9 kB / 0.7931 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.01572, allocations: 59.41 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.01624, allocations: 468.9 kB / 0.7936 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.01631, allocations: 41.69 kB / 0.7936 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01644, allocations: 144.2 kB / 0.7938 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.01651, allocations: 43.69 kB / 0.7938 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.01675, allocations: 143.1 kB / 0.794 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.01701, allocations: 0.4923 MB / 0.7944 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.01741, allocations: 214.2 kB / 0.7946 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.01786, allocations: 293.7 kB / 0.7949 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.01835, allocations: 314.5 kB / 0.7952 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01835, allocations: 1.438 kB / 0.7952 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.0195, allocations: 0.6262 MB / 0.7958 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.01961, allocations: 79.94 kB / 0.7959 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01962, allocations: 0 / 0.7959 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01964, allocations: 4.562 kB / 0.7959 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.01986, allocations: 32.75 kB / 0.7959 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.01988, allocations: 11.88 kB / 0.796 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.02025, allocations: 45.08 kB / 0.796 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.02036, allocations: 59.98 kB / 0.7961 GB, free: 2.539 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.0002449/0.02061, allocations: 193.3 kB / 0.7962 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.0207, allocations: 43.77 kB / 0.7963 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.02094, allocations: 37.36 kB / 0.7963 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.02095, allocations: 4 kB / 0.7963 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.02096, allocations: 3.938 kB / 0.7963 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.02096, allocations: 3.938 kB / 0.7963 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.02286, allocations: 0.738 MB / 0.797 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.02286, allocations: 0 / 0.797 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.0229, allocations: 7.938 kB / 0.7971 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.02291, allocations: 5.219 kB / 0.7971 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.02296, allocations: 31.91 kB / 0.7971 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02297, allocations: 0 / 0.7971 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02297, allocations: 0.8438 kB / 0.7971 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.02423, allocations: 498.3 kB / 0.7976 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.02454, allocations: 121.5 kB / 0.7977 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.02463, allocations: 27.64 kB / 0.7977 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.02491, allocations: 15.98 kB / 0.7977 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.02496, allocations: 7.984 kB / 0.7977 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/0.02505, allocations: 59.97 kB / 0.7978 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003351/0.02538, allocations: 287.1 kB / 0.7981 GB, free: 428 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02538, allocations: 0 / 0.7981 GB, free: 428 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003916/0.02577, allocations: 67.98 kB / 0.7981 GB, free: 360 kB / 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.0001851/0.02596, allocations: 122.1 kB / 0.7982 GB, free: 228 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.02718, allocations: 0.5914 MB / 0.7988 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02718, allocations: 1.125 kB / 0.7988 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.02762, allocations: 104.8 kB / 0.7989 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.02804, allocations: 53.56 kB / 0.799 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02922, allocations: 0.4916 MB / 0.7995 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.02942, allocations: 167.8 kB / 0.7996 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.02949, allocations: 18.36 kB / 0.7996 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.02954, allocations: 20.48 kB / 0.7996 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.02954, allocations: 0 / 0.7996 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of Templates: time 0.01191/0.04145, allocations: 5.981 MB / 0.8055 GB, free: 8.676 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.85623321600724]