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.002096/0.002096, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002668/0.002668, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.851/2.851, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8107 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.591e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002983/0.003009, allocations: 1.517 MB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004437, allocations: 0.5354 MB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.0045, allocations: 0 / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.004601, allocations: 9.047 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.004718, allocations: 31.8 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.005661, allocations: 316.2 kB / 0.8131 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.006316, allocations: 484 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.006359, allocations: 8.938 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.006979, allocations: 359.5 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.007329, allocations: 130.6 kB / 0.814 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.007431, allocations: 28 kB / 0.8141 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.007522, allocations: 28.66 kB / 0.8141 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.007677, allocations: 111.7 kB / 0.8142 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.007889, allocations: 132.5 kB / 0.8143 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.008613, allocations: 462.7 kB / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008615, allocations: 0.7812 kB / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008616, allocations: 0 / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.008625, allocations: 0 / 0.8148 GB, free: 12.89 MB / 0.7292 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.001482/0.01011, allocations: 0.8045 MB / 0.8155 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01015, allocations: 8.031 kB / 0.8156 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.01034, allocations: 60.69 kB / 0.8156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.01084, allocations: 257.5 kB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.01093, allocations: 16.36 kB / 0.8159 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.01106, allocations: 32.3 kB / 0.8159 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.01274, allocations: 227 kB / 0.8161 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01275, allocations: 4.719 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.0128, allocations: 5.953 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.01281, allocations: 384 / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.01404, allocations: 125.8 kB / 0.8163 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.0147, allocations: 281 kB / 0.8165 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.01646, allocations: 179 kB / 0.8167 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.01771, allocations: 115.7 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.01775, allocations: 4 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.01937, allocations: 241.4 kB / 0.817 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 6.081e-06/0.01938, allocations: 4.672 kB / 0.817 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.004272/0.02365, allocations: 0.5348 MB / 0.8176 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.02371, allocations: 55.41 kB / 0.8176 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.02424, allocations: 413.9 kB / 0.818 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.02431, allocations: 42.91 kB / 0.8181 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.02443, allocations: 97.44 kB / 0.8181 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.02449, allocations: 43.67 kB / 0.8182 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.02474, allocations: 126.3 kB / 0.8183 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.02493, allocations: 322.8 kB / 0.8186 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.02533, allocations: 193.5 kB / 0.8188 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.02581, allocations: 253.2 kB / 0.819 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.02649, allocations: 278.5 kB / 0.8193 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.02649, allocations: 0 / 0.8193 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001656/0.02815, allocations: 0.582 MB / 0.8199 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.02827, allocations: 79.38 kB / 0.8199 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.02829, allocations: 5.344 kB / 0.82 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.02832, allocations: 0 / 0.82 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.02857, allocations: 27.92 kB / 0.82 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.02859, allocations: 7.938 kB / 0.82 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.02938, allocations: 65.78 kB / 0.8201 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.02953, allocations: 59.97 kB / 0.8201 GB, free: 7.125 MB / 0.7292 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.0003831/0.02991, allocations: 198.9 kB / 0.8203 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.03006, allocations: 43.77 kB / 0.8203 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.03016, allocations: 44.48 kB / 0.8204 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.03017, allocations: 0 / 0.8204 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.03017, allocations: 0.9375 kB / 0.8204 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.03018, allocations: 3.938 kB / 0.8204 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.03383, allocations: 0.7142 MB / 0.8211 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03383, allocations: 0 / 0.8211 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.03387, allocations: 7.984 kB / 0.8211 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.03388, allocations: 0 / 0.8211 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.03392, allocations: 23.91 kB / 0.8211 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.03392, allocations: 3.938 kB / 0.8211 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.03393, allocations: 4 kB / 0.8211 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.03622, allocations: 0.5017 MB / 0.8216 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.03667, allocations: 133.5 kB / 0.8217 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.03679, allocations: 17.05 kB / 0.8218 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.03739, allocations: 45.06 kB / 0.8218 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.03743, allocations: 11.92 kB / 0.8218 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.03752, allocations: 63.97 kB / 0.8219 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003553/0.03787, allocations: 292.1 kB / 0.8222 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.03787, allocations: 0 / 0.8222 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004486/0.03832, allocations: 64 kB / 0.8222 GB, free: 4.918 MB / 0.7292 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.0001895/0.03851, allocations: 120.4 kB / 0.8223 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.04002, allocations: 497.4 kB / 0.8228 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.04003, allocations: 0 / 0.8228 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.04088, allocations: 122.2 kB / 0.8229 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.0413, allocations: 55.78 kB / 0.823 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.04298, allocations: 0.5859 MB / 0.8235 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.0432, allocations: 172.1 kB / 0.8237 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.509e-05/0.04327, allocations: 17.12 kB / 0.8237 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.04332, allocations: 16.5 kB / 0.8237 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.04332, allocations: 0 / 0.8237 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of Templates: time 0.0253/0.06862, allocations: 5.975 MB / 0.8296 GB, free: 13.25 MB / 0.7448 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/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.670736487023532]