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.0008064/0.0008064, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008041/0.0008041, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9126/0.9126, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 377.8 MB / 0.6229 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 0.9821 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.148e-05, allocations: 5.234 kB / 0.9821 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001798/0.001819, allocations: 1.526 MB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009496/0.002769, allocations: 0.5291 MB / 0.9842 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.002821, allocations: 4 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.002918, allocations: 11.86 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.003025, allocations: 27.81 kB / 0.9842 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.00362, allocations: 322.6 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.004122, allocations: 483.4 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.004162, allocations: 4 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.004484, allocations: 347.6 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.004673, allocations: 127.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.004721, allocations: 28 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.004766, allocations: 28 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.004862, allocations: 123.6 kB / 0.9856 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.004971, allocations: 135.7 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.005307, allocations: 466.7 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00531, allocations: 0 / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005311, allocations: 0 / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.005316, allocations: 0 / 0.9862 GB, free: 14.01 MB / 0.948 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.0008492/0.006165, allocations: 0.7989 MB / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.00621, allocations: 12.03 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.0063, allocations: 52.7 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.006597, allocations: 256 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.006639, allocations: 20.36 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.006684, allocations: 20.38 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.007209, allocations: 234 kB / 0.9875 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.007216, allocations: 8.125 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.007234, allocations: 384 / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.007238, allocations: 4.375 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.00759, allocations: 115.9 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.007845, allocations: 289 kB / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.00835, allocations: 182.5 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.008689, allocations: 120.8 kB / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.008709, allocations: 4 kB / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.009174, allocations: 235.1 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.009175, allocations: 0 / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.001242/0.01042, allocations: 0.5315 MB / 0.9889 GB, free: 11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01045, allocations: 59.34 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.01072, allocations: 417.8 kB / 0.9894 GB, free: 10.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.01075, allocations: 37.7 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.01081, allocations: 97.44 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.01085, allocations: 35.75 kB / 0.9896 GB, free: 10.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01096, allocations: 125.5 kB / 0.9897 GB, free: 10.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.01104, allocations: 326.8 kB / 0.99 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.01125, allocations: 195.2 kB / 0.9902 GB, free: 9.672 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.01146, allocations: 249.2 kB / 0.9904 GB, free: 9.395 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.0117, allocations: 267.7 kB / 0.9907 GB, free: 9.102 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.0117, allocations: 0 / 0.9907 GB, free: 9.102 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005358/0.01223, allocations: 0.5702 MB / 0.9912 GB, free: 8.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.01229, allocations: 87.55 kB / 0.9913 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.0123, allocations: 0 / 0.9913 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.01231, allocations: 4 kB / 0.9913 GB, free: 8.398 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01241, allocations: 23.92 kB / 0.9913 GB, free: 8.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01242, allocations: 3.938 kB / 0.9913 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.01265, allocations: 63.84 kB / 0.9914 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.01288, allocations: 67.97 kB / 0.9915 GB, free: 8.242 MB / 0.948 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.000144/0.01302, allocations: 209.6 kB / 0.9917 GB, free: 8.031 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.01305, allocations: 35.77 kB / 0.9917 GB, free: 7.996 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.0131, allocations: 39.69 kB / 0.9917 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0131, allocations: 4 kB / 0.9918 GB, free: 7.953 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.0131, allocations: 3.984 kB / 0.9918 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01311, allocations: 3.938 kB / 0.9918 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.01423, allocations: 0.7012 MB / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01423, allocations: 0 / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.01425, allocations: 11.94 kB / 0.9925 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01425, allocations: 0 / 0.9925 GB, free: 7.191 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.01428, allocations: 27.91 kB / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01428, allocations: 0 / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01428, allocations: 0 / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.01511, allocations: 0.4996 MB / 0.993 GB, free: 6.648 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.01527, allocations: 133.5 kB / 0.9931 GB, free: 6.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.01532, allocations: 15.94 kB / 0.9931 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.01553, allocations: 35.97 kB / 0.9931 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.01556, allocations: 7.984 kB / 0.9932 GB, free: 6.461 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.0156, allocations: 63.97 kB / 0.9932 GB, free: 6.398 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001815/0.01578, allocations: 295.1 kB / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01578, allocations: 0 / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002201/0.016, allocations: 71.92 kB / 0.9936 GB, free: 6.043 MB / 0.948 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 9.646e-05/0.0161, allocations: 121.7 kB / 0.9937 GB, free: 5.918 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007082/0.01681, allocations: 497.5 kB / 0.9942 GB, free: 5.398 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01681, allocations: 0 / 0.9942 GB, free: 5.398 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.01715, allocations: 119.9 kB / 0.9943 GB, free: 5.281 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01739, allocations: 33.62 kB / 0.9943 GB, free: 5.246 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.01823, allocations: 0.6104 MB / 0.9949 GB, free: 4.598 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01834, allocations: 170.8 kB / 0.9951 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01838, allocations: 20.48 kB / 0.9951 GB, free: 4.395 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.01838, allocations: 0 / 0.9951 GB, free: 4.395 MB / 0.948 GB Notification: Performance of Templates: time 0.003724/0.0221, allocations: 3.735 MB / 0.9987 GB, free: 0.6094 MB / 0.948 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: 7.4813696863129735]