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.001691/0.001691, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002411/0.002411, allocations: 216.3 kB / 23 MB, free: 4.969 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.836 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.424/3.424, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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.002088/0.002088, allocations: 68.89 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.406, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003408/0.4094, allocations: 1.52 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.411, allocations: 0.5284 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.4111, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.4112, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.4114, allocations: 27.84 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.4125, allocations: 317.9 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.4131, allocations: 487.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.4131, allocations: 15.98 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.4135, allocations: 275.7 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.4139, allocations: 148.4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.414, allocations: 28 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.4141, allocations: 28 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4142, allocations: 119.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.4145, allocations: 155.3 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.415, allocations: 434.3 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.415, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.415, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.415, 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.001549/0.4166, allocations: 0.7873 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4166, allocations: 11.97 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.4168, allocations: 56.69 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.4173, allocations: 256.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.4174, allocations: 12.36 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.4175, allocations: 32.36 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4186, allocations: 213.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4186, allocations: 192 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.4186, allocations: 7.922 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4186, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.4194, allocations: 95.92 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.4198, allocations: 285.1 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4209, allocations: 178.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.4217, allocations: 100.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.4217, allocations: 11.98 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.4228, allocations: 219.2 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.4228, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002823/0.4256, allocations: 493 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.4257, allocations: 63.39 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.4262, allocations: 409.9 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.4263, allocations: 41.69 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.4264, allocations: 93.45 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.4264, allocations: 43.69 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.4267, allocations: 129.5 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.4269, allocations: 322.8 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.4273, allocations: 195.3 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.4277, allocations: 241.2 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.4282, allocations: 272 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4282, allocations: 4 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009741/0.4292, allocations: 0.547 MB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.4294, allocations: 79.38 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.4294, allocations: 0 / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4294, allocations: 7.938 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.4296, allocations: 23.92 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.4296, allocations: 7.984 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.4302, allocations: 67.97 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4303, allocations: 59.97 kB / 1.336 GB, free: 7.387 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.0003144/0.4306, allocations: 190.2 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4307, allocations: 43.72 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.4308, allocations: 43.67 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4308, allocations: 3.938 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4308, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.4311, allocations: 133.6 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.4312, allocations: 8 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.4317, allocations: 27.97 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4317, allocations: 15.97 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.4336, allocations: 438.4 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002089/0.4357, allocations: 0.5472 MB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007688/0.4365, allocations: 107.9 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003977/0.4369, allocations: 295.1 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of Backend: time 8.32e-07/0.4369, allocations: 0 / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.438, allocations: 448.3 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of SimCode: time 0.001376/0.4393, allocations: 0.9422 MB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of Templates: time 0.01253/0.4519, allocations: 6.538 MB / 1.346 GB, free: 13.46 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: 10.408454042000812]