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.00203/0.00203, allocations: 78.66 kB / 19.18 MB, free: 2.52 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.002552/0.002552, allocations: 166.2 kB / 22.46 MB, free: 5.371 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.956/2.956, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.412e-06/1.412e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.753e-05, allocations: 8.672 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002732/0.00276, allocations: 1.522 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004099, allocations: 0.5304 MB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.004148, allocations: 0 / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.944e-05/0.004237, allocations: 7.875 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.004365, allocations: 31.78 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.005246, allocations: 323.2 kB / 0.9837 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.005828, allocations: 487.4 kB / 0.9842 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.005869, allocations: 0 / 0.9842 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.006424, allocations: 367.6 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.006736, allocations: 129.8 kB / 0.9847 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.006845, allocations: 24 kB / 0.9847 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006949, allocations: 31.94 kB / 0.9847 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.007104, allocations: 115.7 kB / 0.9848 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.007301, allocations: 131.7 kB / 0.985 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.007861, allocations: 458.8 kB / 0.9854 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.007866, allocations: 4 kB / 0.9854 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.007867, allocations: 0 / 0.9854 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.007873, allocations: 4 kB / 0.9854 GB, free: 7.879 MB / 0.9356 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.001327/0.009199, allocations: 0.8048 MB / 0.9862 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.009234, allocations: 8.031 kB / 0.9862 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.009372, allocations: 56.7 kB / 0.9862 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.009785, allocations: 248.1 kB / 0.9865 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.009836, allocations: 16.38 kB / 0.9865 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.009931, allocations: 32.36 kB / 0.9865 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.01108, allocations: 233.9 kB / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.01109, allocations: 192 / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.01112, allocations: 384 / 0.9868 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01113, allocations: 4.375 kB / 0.9868 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.01203, allocations: 115.9 kB / 0.9869 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.01245, allocations: 288.9 kB / 0.9871 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.01371, allocations: 186.5 kB / 0.9873 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.01459, allocations: 112.8 kB / 0.9874 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.01462, allocations: 3.984 kB / 0.9874 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.01575, allocations: 239.1 kB / 0.9877 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.01575, allocations: 0 / 0.9877 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.003036/0.01879, allocations: 0.5308 MB / 0.9882 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.01884, allocations: 59.41 kB / 0.9882 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.01932, allocations: 409.9 kB / 0.9886 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.01939, allocations: 41.69 kB / 0.9887 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.01949, allocations: 97.44 kB / 0.9888 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.01954, allocations: 39.73 kB / 0.9888 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.01977, allocations: 137.4 kB / 0.9889 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01991, allocations: 318.8 kB / 0.9892 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.02029, allocations: 195.2 kB / 0.9894 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.02069, allocations: 249.3 kB / 0.9897 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.02112, allocations: 261.3 kB / 0.9899 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.02112, allocations: 11.88 kB / 0.9899 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001038/0.02216, allocations: 0.565 MB / 0.9905 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.02225, allocations: 79.38 kB / 0.9905 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.02226, allocations: 0 / 0.9905 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.02227, allocations: 4 kB / 0.9905 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.02245, allocations: 27.91 kB / 0.9906 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.02246, allocations: 7.875 kB / 0.9906 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.02301, allocations: 68.09 kB / 0.9906 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.02311, allocations: 59.98 kB / 0.9907 GB, free: 2.117 MB / 0.9356 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.0002612/0.02337, allocations: 197.7 kB / 0.9909 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.02344, allocations: 39.75 kB / 0.9909 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.02352, allocations: 39.69 kB / 0.991 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.02352, allocations: 4 kB / 0.991 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.02352, allocations: 0 / 0.991 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02353, allocations: 3.938 kB / 0.991 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.02611, allocations: 0.7168 MB / 0.9917 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02611, allocations: 0 / 0.9917 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.02615, allocations: 4 kB / 0.9917 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.02616, allocations: 4 kB / 0.9917 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.0262, allocations: 23.91 kB / 0.9917 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0262, allocations: 4 kB / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0262, allocations: 0 / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.02829, allocations: 0.4984 MB / 0.9922 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.02859, allocations: 133.5 kB / 0.9923 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.02869, allocations: 19.92 kB / 0.9923 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.02923, allocations: 35.97 kB / 0.9924 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.02927, allocations: 19.86 kB / 0.9924 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/0.02936, allocations: 59.97 kB / 0.9925 GB, free: 276 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003627/0.02972, allocations: 291.2 kB / 0.9927 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.02972, allocations: 4 kB / 0.9927 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004434/0.03016, allocations: 63.98 kB / 0.9928 GB, free: 15.91 MB / 0.9512 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.0001805/0.03034, allocations: 121.8 kB / 0.9929 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.03185, allocations: 493.8 kB / 0.9934 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03186, allocations: 0 / 0.9934 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.03277, allocations: 119.9 kB / 0.9935 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.03321, allocations: 36.45 kB / 0.9935 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.03513, allocations: 0.5734 MB / 0.9941 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.03539, allocations: 170.8 kB / 0.9943 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.951e-05/0.03548, allocations: 13.09 kB / 0.9943 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.03555, allocations: 24.48 kB / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of SimCode: time 1.403e-06/0.03555, allocations: 0 / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.01291/0.04846, allocations: 5.954 MB / 1 GB, free: 8.289 MB / 0.9512 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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.183933518826962]