Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 114.8 kB / 17.08 MB, free: 5.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001415, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437.1 MB / 0.7178 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.88 kB / 1.028 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3362, allocations: 151.6 MB / 1.176 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002804/0.3391, allocations: 1.518 MB / 1.177 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3404, allocations: 0.5447 MB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.3405, allocations: 3.938 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3406, allocations: 7.922 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3407, allocations: 23.66 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.3415, allocations: 318.8 kB / 1.178 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.3421, allocations: 0.5033 MB / 1.179 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3422, allocations: 8 kB / 1.179 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.3426, allocations: 275.6 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.3429, allocations: 139.7 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.343, allocations: 28 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.3431, allocations: 24 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3432, allocations: 123.6 kB / 1.179 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.3435, allocations: 183.1 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.344, allocations: 426.4 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.344, allocations: 0 / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.344, allocations: 3.938 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.344, allocations: 0 / 1.18 GB, free: 1.895 MB / 0.92 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.00138/0.3454, allocations: 0.8742 MB / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3454, allocations: 12.03 kB / 1.181 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.3456, allocations: 48.7 kB / 1.181 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.346, allocations: 326.5 kB / 1.181 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.346, allocations: 20.3 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.3461, allocations: 28.36 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.3471, allocations: 206 kB / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3471, allocations: 192 / 1.181 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3472, allocations: 11.92 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3472, allocations: 0 / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.348, allocations: 103.9 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.3485, allocations: 389.3 kB / 1.182 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3496, allocations: 182.4 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007684/0.3504, allocations: 112.8 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.3504, allocations: 3.938 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3515, allocations: 221.6 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.3515, allocations: 0 / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002794/0.3543, allocations: 497 kB / 1.183 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3544, allocations: 59.34 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.3551, allocations: 413.9 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.3552, allocations: 37.7 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3553, allocations: 101.4 kB / 1.183 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.3553, allocations: 43.67 kB / 1.183 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3556, allocations: 129.5 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3558, allocations: 318.8 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.356, allocations: 119.9 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.3563, allocations: 166.9 kB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.3568, allocations: 279.6 kB / 1.184 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3568, allocations: 0 / 1.184 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008686/0.3576, allocations: 488.7 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.3577, allocations: 87.31 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3578, allocations: 4 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3578, allocations: 0 / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.358, allocations: 31.91 kB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.358, allocations: 4 kB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.3585, allocations: 63.98 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.3586, allocations: 55.98 kB / 1.185 GB, free: 12.21 MB / 0.9356 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.000265/0.3588, allocations: 205.7 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.3589, allocations: 43.69 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.359, allocations: 35.75 kB / 1.185 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.359, allocations: 4 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.359, allocations: 0 / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.359, allocations: 0 / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.3613, allocations: 0.7532 MB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3613, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.3614, allocations: 4 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3614, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.3614, allocations: 27.97 kB / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3614, allocations: 0 / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3615, allocations: 0 / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.3633, allocations: 485.8 kB / 1.187 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.3635, allocations: 196.7 kB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3636, allocations: 16 kB / 1.187 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.3641, allocations: 27.97 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3642, allocations: 7.984 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.3643, allocations: 59.97 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003349/0.3646, allocations: 299 kB / 1.187 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3646, allocations: 0 / 1.187 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003763/0.365, allocations: 67.98 kB / 1.187 GB, free: 9.91 MB / 0.9356 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.0002031/0.3652, allocations: 121 kB / 1.187 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3666, allocations: 442.4 kB / 1.188 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3666, allocations: 384 / 1.188 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.3674, allocations: 119.9 kB / 1.188 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3678, allocations: 29.48 kB / 1.188 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3695, allocations: 0.5914 MB / 1.188 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.3699, allocations: 0.7786 MB / 1.189 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.37, allocations: 11.44 kB / 1.189 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.37, allocations: 0 / 1.189 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of Templates: time 0.006648/0.3766, allocations: 3.733 MB / 1.193 GB, free: 3.953 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.062371182953939]