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.001293/0.001293, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001323/0.001323, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.518/1.518, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.702/2.702, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] 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.001972/0.001972, allocations: 63.91 kB / 1.057 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 160.7 MB / 1.214 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002931/0.3593, allocations: 1.521 MB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3607, allocations: 0.55 MB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.3607, allocations: 3.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.574e-05/0.3608, allocations: 3.938 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3609, allocations: 35.62 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.3618, allocations: 315.2 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.3624, allocations: 487.4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.3624, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.3628, allocations: 275.6 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.3632, allocations: 147.6 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.3633, allocations: 24 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.3634, allocations: 32 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3635, allocations: 120.3 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3637, allocations: 179.1 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.3642, allocations: 426.4 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3642, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3642, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3642, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 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.001372/0.3656, allocations: 0.882 MB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3656, allocations: 16.03 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3658, allocations: 48.7 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.3662, allocations: 322.5 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.3663, allocations: 16.38 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.3664, allocations: 24.36 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3674, allocations: 210 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3674, allocations: 4.125 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3674, allocations: 11.94 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3675, allocations: 4 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3683, allocations: 95.92 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.3687, allocations: 393.2 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3698, allocations: 170.4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.3706, allocations: 100.8 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.3706, allocations: 4 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3716, allocations: 226 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3716, allocations: 0 / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002673/0.3743, allocations: 489 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3744, allocations: 67.33 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3748, allocations: 405.9 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.3749, allocations: 41.69 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.375, allocations: 97.45 kB / 1.221 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.3751, allocations: 47.61 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3753, allocations: 129.5 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3755, allocations: 318.8 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3758, allocations: 119.9 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.3761, allocations: 174.9 kB / 1.222 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.3766, allocations: 271.1 kB / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3766, allocations: 4 kB / 1.222 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008907/0.3775, allocations: 484.7 kB / 1.223 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.3776, allocations: 95.3 kB / 1.223 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3776, allocations: 4 kB / 1.223 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3776, allocations: 4 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.3778, allocations: 23.92 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3778, allocations: 4 kB / 1.223 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.3783, allocations: 59.98 kB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3785, allocations: 67.97 kB / 1.223 GB, free: 7.262 MB / 0.9669 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.0002864/0.3787, allocations: 189.7 kB / 1.223 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3789, allocations: 43.69 kB / 1.223 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.3789, allocations: 39.75 kB / 1.223 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.379, allocations: 4 kB / 1.223 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.379, allocations: 7.984 kB / 1.223 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.379, allocations: 0 / 1.223 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.3815, allocations: 0.7482 MB / 1.224 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3815, allocations: 0 / 1.224 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.3815, allocations: 8 kB / 1.224 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.3815, allocations: 3.984 kB / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.3816, allocations: 15.98 kB / 1.224 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3816, allocations: 0 / 1.224 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3816, allocations: 3.938 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3835, allocations: 485.9 kB / 1.225 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.3838, allocations: 204.7 kB / 1.225 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3839, allocations: 11.98 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.3844, allocations: 35.97 kB / 1.225 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3844, allocations: 7.984 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.3845, allocations: 51.98 kB / 1.225 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003626/0.3849, allocations: 303.1 kB / 1.225 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3849, allocations: 0 / 1.225 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004472/0.3853, allocations: 67.98 kB / 1.225 GB, free: 4.961 MB / 0.9669 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.0001789/0.3855, allocations: 109 kB / 1.225 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.3869, allocations: 414.5 kB / 1.226 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3869, allocations: 0 / 1.226 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.3877, allocations: 111.8 kB / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3881, allocations: 34.06 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3897, allocations: 0.5917 MB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3902, allocations: 0.7708 MB / 1.227 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.3902, allocations: 15.42 kB / 1.227 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.3902, allocations: 4 kB / 1.227 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of Templates: time 0.00652/0.3967, allocations: 3.736 MB / 1.231 GB, free: 15.05 MB / 0.9825 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.597967765992507]