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.001491/0.001491, allocations: 88.72 kB / 19.44 MB, free: 360 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.001636/0.001636, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.195/3.195, allocations: 429.6 MB / 0.673 GB, free: 3.852 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.533e-06/1.533e-06, allocations: 0 / 0.8775 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.832e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003047/0.003075, allocations: 1.52 MB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.00452, allocations: 0.5261 MB / 0.8795 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.004583, allocations: 1.094 kB / 0.8795 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.004689, allocations: 16.95 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.004827, allocations: 30.2 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009565/0.005784, allocations: 319 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.006471, allocations: 483.4 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.006517, allocations: 7.984 kB / 0.8804 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.007182, allocations: 355.6 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.007522, allocations: 123.8 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.007626, allocations: 28 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.007713, allocations: 31.94 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.007887, allocations: 121.5 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.008099, allocations: 131.7 kB / 0.8811 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.008991, allocations: 458.7 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.008995, allocations: 0 / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/0.008996, allocations: 1.031 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.009009, allocations: 0 / 0.8816 GB, free: 2.418 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.001591/0.0106, allocations: 0.8039 MB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.01064, allocations: 11.97 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.01084, allocations: 56.7 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.01129, allocations: 253.6 kB / 0.8827 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.01134, allocations: 20.36 kB / 0.8827 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.01144, allocations: 28.36 kB / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.01255, allocations: 235.2 kB / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01255, allocations: 192 / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.01258, allocations: 384 / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.01259, allocations: 384 / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008656/0.01345, allocations: 125.9 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.01393, allocations: 285 kB / 0.8833 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.01514, allocations: 188.7 kB / 0.8835 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.01601, allocations: 114 kB / 0.8836 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.01604, allocations: 4 kB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.01718, allocations: 242.5 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.01718, allocations: 4 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.002984/0.02017, allocations: 0.5244 MB / 0.8844 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.02022, allocations: 59.39 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.02075, allocations: 417.8 kB / 0.8848 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.02084, allocations: 41.69 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.02094, allocations: 93.45 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.021, allocations: 43.73 kB / 0.885 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.02125, allocations: 125.5 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.02143, allocations: 318.8 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.02182, allocations: 199.3 kB / 0.8856 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.02224, allocations: 242.1 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.02272, allocations: 275.8 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02272, allocations: 4 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001127/0.02385, allocations: 0.5859 MB / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.02395, allocations: 83.36 kB / 0.8867 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02396, allocations: 4 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.02398, allocations: 0 / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.02416, allocations: 23.98 kB / 0.8868 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.02417, allocations: 11.88 kB / 0.8868 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.02476, allocations: 72.02 kB / 0.8868 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.02487, allocations: 55.98 kB / 0.8869 GB, free: 12.63 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.0002736/0.02514, allocations: 197.7 kB / 0.8871 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.02525, allocations: 51.72 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.02532, allocations: 43.67 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02533, allocations: 0 / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.02533, allocations: 3.938 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02534, allocations: 3.938 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.02793, allocations: 0.7051 MB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02793, allocations: 0 / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.02799, allocations: 15.92 kB / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.02799, allocations: 0 / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.02804, allocations: 19.92 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.02804, allocations: 4 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02804, allocations: 4 kB / 0.8879 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.03048, allocations: 0.4987 MB / 0.8884 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.03078, allocations: 133.5 kB / 0.8885 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.03087, allocations: 19.94 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.03142, allocations: 39.95 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.03147, allocations: 7.984 kB / 0.8886 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.03155, allocations: 63.92 kB / 0.8887 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003635/0.03192, allocations: 291.1 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03192, allocations: 0 / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000406/0.03232, allocations: 67.98 kB / 0.889 GB, free: 10.41 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.0001881/0.03251, allocations: 121.2 kB / 0.8891 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.03405, allocations: 489.9 kB / 0.8896 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03405, allocations: 0 / 0.8896 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.03494, allocations: 123.8 kB / 0.8897 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.03538, allocations: 54 kB / 0.8898 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.03708, allocations: 0.5793 MB / 0.8903 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.03731, allocations: 166.9 kB / 0.8905 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.68e-05/0.03738, allocations: 13.16 kB / 0.8905 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.03744, allocations: 24.47 kB / 0.8905 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.03744, allocations: 0 / 0.8905 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of Templates: time 0.01226/0.0497, allocations: 5.982 MB / 0.8964 GB, free: 2.734 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 800] 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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.007829177076928]