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.001344/0.001344, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001445/0.001445, allocations: 216.5 kB / 23.04 MB, free: 4.867 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002058/0.002058, allocations: 69.27 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, 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.002901/0.3993, allocations: 1.517 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4009, allocations: 0.5267 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.401, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.4011, allocations: 11.86 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.4013, allocations: 27.84 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4023, allocations: 315.2 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.403, allocations: 487.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.52e-05/0.403, allocations: 7.938 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.4035, allocations: 279.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.4038, allocations: 133.1 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.4039, allocations: 28 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.404, allocations: 28 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.4042, allocations: 111.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.4044, allocations: 159.2 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.4049, allocations: 438.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4049, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4049, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.405, allocations: 0 / 1.331 GB, free: 13 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.001388/0.4063, allocations: 0.8036 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4064, allocations: 12.03 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.4065, allocations: 48.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.4069, allocations: 260.7 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.407, allocations: 20.36 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.4071, allocations: 28.38 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.408, allocations: 226 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.408, allocations: 192 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.408, allocations: 11.94 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.408, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.4087, allocations: 119.9 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.4091, allocations: 281.1 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009966/0.4101, allocations: 182.5 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/0.4108, allocations: 120.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.4109, allocations: 7.984 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009191/0.4118, allocations: 227.2 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.4118, allocations: 3.938 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002434/0.4142, allocations: 0.534 MB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4143, allocations: 59.41 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.4147, allocations: 417.9 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.4148, allocations: 41.7 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.4149, allocations: 93.44 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.4149, allocations: 43.67 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4151, allocations: 133.4 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4153, allocations: 322.8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.4156, allocations: 195.3 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.416, allocations: 253.2 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.4164, allocations: 270.5 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4164, allocations: 0 / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009002/0.4173, allocations: 0.5565 MB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.4174, allocations: 79.38 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4174, allocations: 7.984 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4174, allocations: 3.938 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4176, allocations: 23.98 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4176, allocations: 12.12 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.418, allocations: 67.78 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4181, allocations: 59.98 kB / 1.336 GB, free: 7.223 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.0002381/0.4184, allocations: 198.3 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.4184, allocations: 39.72 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-05/0.4185, allocations: 39.62 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4185, allocations: 7.938 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4185, allocations: 4 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4185, allocations: 3.984 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.4206, allocations: 0.6998 MB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4206, allocations: 7.938 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.4206, allocations: 7.938 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4206, allocations: 4 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.4207, allocations: 23.97 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4207, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4207, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.4223, allocations: 0.5112 MB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.4226, allocations: 129.9 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.4227, allocations: 8 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.4231, allocations: 43.97 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4231, allocations: 7.984 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.4232, allocations: 59.97 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003166/0.4235, allocations: 295.1 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4235, allocations: 0 / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003308/0.4239, allocations: 67.98 kB / 1.338 GB, free: 5.016 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.0001819/0.424, allocations: 132.9 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.4253, allocations: 485.9 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4253, allocations: 3.938 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.4261, allocations: 135 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4264, allocations: 35.39 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4279, allocations: 0.6073 MB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.4281, allocations: 159 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.4281, allocations: 15.44 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4281, allocations: 0 / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of Templates: time 0.006283/0.4344, allocations: 3.748 MB / 1.344 GB, free: 15.56 MB / 1.045 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.130873284069821]