Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002015/0.002015, allocations: 177.2 kB / 22.76 MB, free: 1.656 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.681/1.681, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.392/3.392, allocations: 429.4 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.167e-05, allocations: 5.719 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00296/0.002992, allocations: 1.537 MB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004458, allocations: 0.5325 MB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.004511, allocations: 0 / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.004625, allocations: 18.42 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.004757, allocations: 29.88 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.005692, allocations: 315.3 kB / 0.8798 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.00636, allocations: 487.4 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.006403, allocations: 4.719 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.006971, allocations: 355.6 kB / 0.8806 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.007303, allocations: 133.4 kB / 0.8807 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.007429, allocations: 24 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.007564, allocations: 28 kB / 0.8808 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.00772, allocations: 112.2 kB / 0.8809 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.007926, allocations: 137 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.008817, allocations: 462.7 kB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008821, allocations: 0 / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.008823, allocations: 0 / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.008829, allocations: 1.594 kB / 0.8814 GB, free: 2.594 MB / 0.8386 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.001624/0.01045, allocations: 0.9258 MB / 0.8823 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.0105, allocations: 8.031 kB / 0.8823 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.01067, allocations: 68.69 kB / 0.8824 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.01121, allocations: 246.9 kB / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.01126, allocations: 20.36 kB / 0.8827 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.01136, allocations: 28.36 kB / 0.8827 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.01201, allocations: 198 kB / 0.8829 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01202, allocations: 8.109 kB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.01205, allocations: 4.375 kB / 0.8829 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.01205, allocations: 384 / 0.8829 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.01248, allocations: 79.89 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.01299, allocations: 344.3 kB / 0.8833 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.01364, allocations: 153.7 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.01403, allocations: 83.62 kB / 0.8835 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.01407, allocations: 4 kB / 0.8835 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.01465, allocations: 212.8 kB / 0.8837 GB, free: 72 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.01465, allocations: 0 / 0.8837 GB, free: 72 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001638/0.01629, allocations: 436.1 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.01635, allocations: 67.39 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.01691, allocations: 470.6 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.01698, allocations: 45.7 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.0171, allocations: 140.2 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.01716, allocations: 47.73 kB / 0.8849 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.0174, allocations: 139.1 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.01768, allocations: 0.4923 MB / 0.8855 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.01809, allocations: 211.3 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.01855, allocations: 286.9 kB / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.01907, allocations: 323.6 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01907, allocations: 0 / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001125/0.02019, allocations: 0.6094 MB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.02029, allocations: 83.38 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.0203, allocations: 192 / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.02032, allocations: 11.94 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.02054, allocations: 43.91 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.02056, allocations: 7.938 kB / 0.887 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.02093, allocations: 39.92 kB / 0.8871 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.02103, allocations: 59.98 kB / 0.8871 GB, free: 12.41 MB / 0.8542 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.0002393/0.02127, allocations: 200.4 kB / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.02137, allocations: 47.7 kB / 0.8873 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.02144, allocations: 35.69 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02144, allocations: 4 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02145, allocations: 0 / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.02146, allocations: 11.92 kB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.02327, allocations: 0.7356 MB / 0.8881 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.02328, allocations: 0 / 0.8881 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.02331, allocations: 4 kB / 0.8881 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.02332, allocations: 0 / 0.8881 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.02337, allocations: 27.91 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02337, allocations: 4 kB / 0.8881 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02337, allocations: 0 / 0.8881 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.02483, allocations: 0.495 MB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.02516, allocations: 121.5 kB / 0.8887 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.02524, allocations: 15.88 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.02554, allocations: 23.98 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.02558, allocations: 15.97 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.02566, allocations: 51.98 kB / 0.8888 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003539/0.02602, allocations: 291.1 kB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02602, allocations: 4 kB / 0.8891 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004185/0.02643, allocations: 63.98 kB / 0.8892 GB, free: 10.2 MB / 0.8542 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.0001806/0.02661, allocations: 113.2 kB / 0.8893 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.02786, allocations: 0.5921 MB / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02787, allocations: 0 / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.02831, allocations: 107.6 kB / 0.89 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02873, allocations: 53.55 kB / 0.89 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.02991, allocations: 0.4991 MB / 0.8905 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.03011, allocations: 158.9 kB / 0.8907 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.725e-05/0.03017, allocations: 17.14 kB / 0.8907 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.03022, allocations: 16.5 kB / 0.8907 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.03022, allocations: 0 / 0.8907 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.01183/0.04205, allocations: 5.992 MB / 0.8966 GB, free: 2.496 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.518075269996189]