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.001329/0.001329, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001473/0.001473, allocations: 214.9 kB / 22.99 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.225/3.225, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.002117/0.002117, allocations: 71.41 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002821/0.3794, allocations: 1.517 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3807, allocations: 0.5287 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.3808, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.3809, allocations: 7.875 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.381, allocations: 31.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.3818, allocations: 314.4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.3823, allocations: 487.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3824, allocations: 15.98 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.3828, allocations: 275.7 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.3831, allocations: 135.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.3832, allocations: 28 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.3833, allocations: 27.94 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3834, allocations: 115.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3836, allocations: 155.3 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.3841, allocations: 434.4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3841, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3841, allocations: 8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3841, allocations: 0 / 1.33 GB, free: 13.84 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.001324/0.3855, allocations: 0.7911 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3855, allocations: 8.031 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3856, allocations: 56.69 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.3861, allocations: 256.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.3861, allocations: 16.36 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.3862, allocations: 28.36 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.3871, allocations: 213.9 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3871, allocations: 192 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.3872, allocations: 11.92 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3872, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.3879, allocations: 91.92 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3883, allocations: 281.1 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.3893, allocations: 166.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.39, allocations: 100.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.39, allocations: 7.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.391, allocations: 227.1 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.391, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00251/0.3935, allocations: 491.1 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.3935, allocations: 59.39 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.394, allocations: 413.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.3941, allocations: 41.69 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3942, allocations: 93.45 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.3943, allocations: 51.56 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.3945, allocations: 125.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3946, allocations: 326.8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.395, allocations: 191.3 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.3954, allocations: 241.2 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.3958, allocations: 270.4 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3958, allocations: 0 / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009514/0.3967, allocations: 0.5563 MB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/0.3968, allocations: 79.38 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3968, allocations: 4 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3968, allocations: 7.938 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.397, allocations: 19.92 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.397, allocations: 4 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.3975, allocations: 68.02 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.3976, allocations: 59.98 kB / 1.335 GB, free: 8.23 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.0002736/0.3979, allocations: 194.2 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.398, allocations: 39.72 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.398, allocations: 59.55 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.398, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3981, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3981, allocations: 0 / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.4003, allocations: 0.6777 MB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4003, allocations: 3.938 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.4004, allocations: 11.98 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4004, allocations: 0 / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.4004, allocations: 15.98 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4004, allocations: 7.984 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4004, allocations: 0 / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.4021, allocations: 477.2 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.4025, allocations: 129.9 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.4025, allocations: 16 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.403, allocations: 41.27 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4031, allocations: 3.984 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.4031, allocations: 59.98 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003739/0.4035, allocations: 295.1 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4035, allocations: 3.938 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004415/0.404, allocations: 63.98 kB / 1.337 GB, free: 6.098 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.0002465/0.4042, allocations: 121 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.4056, allocations: 477.8 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4056, allocations: 0 / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.4063, allocations: 110.7 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.4068, allocations: 37.89 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4084, allocations: 0.5955 MB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4086, allocations: 159 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4087, allocations: 23.42 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/0.4087, allocations: 3.938 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of Templates: time 0.007563/0.4162, allocations: 3.737 MB / 1.342 GB, free: 0.6914 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 13.099071503151208]