Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001828/0.001828, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002333/0.002333, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.729/2.729, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7863 GB, free: 11.77 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.911e-05, allocations: 8.25 kB / 0.7863 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002998/0.003027, allocations: 1.506 MB / 0.7878 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.004453, allocations: 0.5332 MB / 0.7883 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.004524, allocations: 3.938 kB / 0.7883 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.004639, allocations: 8.484 kB / 0.7883 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.004761, allocations: 24.64 kB / 0.7884 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009639/0.005725, allocations: 320.7 kB / 0.7887 GB, free: 9.387 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.006435, allocations: 491.4 kB / 0.7891 GB, free: 8.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.006485, allocations: 11.97 kB / 0.7891 GB, free: 8.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006794/0.007164, allocations: 352.9 kB / 0.7895 GB, free: 8.551 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.007618, allocations: 131.5 kB / 0.7896 GB, free: 8.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.007779, allocations: 28.94 kB / 0.7896 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.007899, allocations: 27.94 kB / 0.7897 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.008103, allocations: 113.2 kB / 0.7898 GB, free: 8.258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.008402, allocations: 131.7 kB / 0.7899 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.009425, allocations: 466.7 kB / 0.7903 GB, free: 7.672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.009437, allocations: 0 / 0.7903 GB, free: 7.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.009439, allocations: 3.281 kB / 0.7903 GB, free: 7.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.009456, allocations: 0 / 0.7903 GB, free: 7.672 MB / 0.698 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.002224/0.01168, allocations: 0.7951 MB / 0.7911 GB, free: 6.805 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.01175, allocations: 16.02 kB / 0.7911 GB, free: 6.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.01205, allocations: 52.7 kB / 0.7912 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.01273, allocations: 267.9 kB / 0.7914 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.01281, allocations: 16.38 kB / 0.7915 GB, free: 6.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.01294, allocations: 28.36 kB / 0.7915 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.01464, allocations: 231.5 kB / 0.7917 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01465, allocations: 1.562 kB / 0.7917 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.0147, allocations: 8.375 kB / 0.7917 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01471, allocations: 384 / 0.7917 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.01601, allocations: 113.4 kB / 0.7918 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.01669, allocations: 285.1 kB / 0.7921 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.01851, allocations: 181.4 kB / 0.7923 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.01981, allocations: 119.4 kB / 0.7924 GB, free: 5.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.01985, allocations: 4 kB / 0.7924 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/0.02146, allocations: 243.1 kB / 0.7926 GB, free: 5.203 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.02146, allocations: 0.7188 kB / 0.7926 GB, free: 5.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.004502/0.02596, allocations: 0.5321 MB / 0.7931 GB, free: 4.668 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.02604, allocations: 59.41 kB / 0.7932 GB, free: 4.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008603/0.0269, allocations: 414.5 kB / 0.7936 GB, free: 4.184 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.02704, allocations: 39.02 kB / 0.7936 GB, free: 4.141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.02723, allocations: 97.44 kB / 0.7937 GB, free: 4.039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.02733, allocations: 43.67 kB / 0.7938 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.02772, allocations: 125.5 kB / 0.7939 GB, free: 3.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002661/0.02798, allocations: 323.3 kB / 0.7942 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.02856, allocations: 192.3 kB / 0.7944 GB, free: 3.344 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.02921, allocations: 249.9 kB / 0.7946 GB, free: 3.066 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.02991, allocations: 271.4 kB / 0.7949 GB, free: 2.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02991, allocations: 0 / 0.7949 GB, free: 2.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001718/0.03163, allocations: 0.5898 MB / 0.7954 GB, free: 2.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.03178, allocations: 88.81 kB / 0.7955 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.03179, allocations: 0 / 0.7955 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.03182, allocations: 4 kB / 0.7955 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.03206, allocations: 23.92 kB / 0.7956 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.03208, allocations: 7.922 kB / 0.7956 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.03286, allocations: 73.44 kB / 0.7956 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.03301, allocations: 55.98 kB / 0.7957 GB, free: 1.898 MB / 0.698 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.0003904/0.0334, allocations: 201.7 kB / 0.7959 GB, free: 1.691 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.03355, allocations: 44.25 kB / 0.7959 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.03365, allocations: 40.25 kB / 0.796 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.03366, allocations: 4.781 kB / 0.796 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.03366, allocations: 0 / 0.796 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.03367, allocations: 4.5 kB / 0.796 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.03752, allocations: 0.7115 MB / 0.7967 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.03752, allocations: 4 kB / 0.7967 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.03757, allocations: 7.812 kB / 0.7967 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.03758, allocations: 4 kB / 0.7967 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.03765, allocations: 23.91 kB / 0.7967 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.03765, allocations: 0 / 0.7967 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.03765, allocations: 0 / 0.7967 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.04083, allocations: 0.5067 MB / 0.7972 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.04124, allocations: 133.5 kB / 0.7973 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.04136, allocations: 16.94 kB / 0.7973 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.04211, allocations: 37.06 kB / 0.7974 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.04217, allocations: 7.984 kB / 0.7974 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.0423, allocations: 59.97 kB / 0.7974 GB, free: 56 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006231/0.04292, allocations: 300.2 kB / 0.7977 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.04292, allocations: 0 / 0.7977 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007365/0.04366, allocations: 67.98 kB / 0.7978 GB, free: 15.69 MB / 0.7136 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.0002735/0.04393, allocations: 118.3 kB / 0.7979 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.04622, allocations: 495.9 kB / 0.7984 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.04622, allocations: 128 / 0.7984 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.0475, allocations: 119.9 kB / 0.7985 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.04822, allocations: 57.59 kB / 0.7985 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.0507, allocations: 0.5774 MB / 0.7991 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.05103, allocations: 166.8 kB / 0.7993 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.28e-05/0.05112, allocations: 17.14 kB / 0.7993 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.05119, allocations: 16.5 kB / 0.7993 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.243e-06/0.05119, allocations: 0 / 0.7993 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.01724/0.06843, allocations: 5.982 MB / 0.8051 GB, free: 8.031 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.356949654989876]