Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108.3 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.88 kB / 1.104 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7818, allocations: 168.7 MB / 1.269 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002763/0.7846, allocations: 1.523 MB / 1.271 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.7859, allocations: 0.5462 MB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.7859, allocations: 0 / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.277e-05/0.786, allocations: 7.875 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.7861, allocations: 27.84 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.7869, allocations: 318.7 kB / 1.272 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.7874, allocations: 483.4 kB / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.7874, allocations: 0 / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.7878, allocations: 279.6 kB / 1.272 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.7881, allocations: 147.4 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.7881, allocations: 28 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.7882, allocations: 24 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.7883, allocations: 119.6 kB / 1.273 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.7885, allocations: 179.1 kB / 1.273 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.789, allocations: 432.8 kB / 1.273 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.789, allocations: 0 / 1.273 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.789, allocations: 7.875 kB / 1.273 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.789, allocations: 4 kB / 1.273 GB, free: 1.145 MB / 0.9669 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.001335/0.7903, allocations: 0.8732 MB / 1.274 GB, free: 188 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7904, allocations: 8.031 kB / 1.274 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.7905, allocations: 48.7 kB / 1.274 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.7909, allocations: 318.5 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.791, allocations: 20.38 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.791, allocations: 24.36 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.7921, allocations: 210 kB / 1.275 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7921, allocations: 192 / 1.275 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.7921, allocations: 11.94 kB / 1.275 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7921, allocations: 0 / 1.275 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.7929, allocations: 111.8 kB / 1.275 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.7935, allocations: 389.2 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.7945, allocations: 166.4 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.7953, allocations: 104.8 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7953, allocations: 4 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009922/0.7963, allocations: 235 kB / 1.276 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.7963, allocations: 0 / 1.276 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002678/0.799, allocations: 490.7 kB / 1.276 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.7991, allocations: 59.39 kB / 1.276 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.7995, allocations: 413.9 kB / 1.277 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.7996, allocations: 41.69 kB / 1.277 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.7997, allocations: 97.39 kB / 1.277 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.7997, allocations: 39.73 kB / 1.277 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.8, allocations: 129.4 kB / 1.277 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8001, allocations: 326.8 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.8004, allocations: 119.9 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.8007, allocations: 174.4 kB / 1.277 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.8011, allocations: 273.3 kB / 1.278 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8011, allocations: 0 / 1.278 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000858/0.802, allocations: 492.8 kB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.8021, allocations: 95.31 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8021, allocations: 3.984 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.8021, allocations: 4 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.8023, allocations: 15.98 kB / 1.278 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.8023, allocations: 7.938 kB / 1.278 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.8028, allocations: 59.84 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.8029, allocations: 64.02 kB / 1.278 GB, free: 11.47 MB / 0.9825 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.0002384/0.8031, allocations: 195.2 kB / 1.279 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.8032, allocations: 47.64 kB / 1.279 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.8032, allocations: 39.75 kB / 1.279 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8032, allocations: 0 / 1.279 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8032, allocations: 0 / 1.279 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8032, allocations: 3.984 kB / 1.279 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.8055, allocations: 0.7405 MB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8055, allocations: 0 / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.8055, allocations: 11.94 kB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.8055, allocations: 0 / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.8056, allocations: 19.97 kB / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8056, allocations: 0 / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8056, allocations: 4 kB / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.8074, allocations: 479.8 kB / 1.28 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.8077, allocations: 208.7 kB / 1.28 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.8078, allocations: 12 kB / 1.28 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.8083, allocations: 31.95 kB / 1.28 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.8083, allocations: 15.97 kB / 1.28 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/0.8084, allocations: 51.98 kB / 1.28 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003098/0.8087, allocations: 295.1 kB / 1.28 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8087, allocations: 0 / 1.28 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003448/0.809, allocations: 67.98 kB / 1.28 GB, free: 9.18 MB / 0.9825 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.0001598/0.8092, allocations: 129.4 kB / 1.281 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.8105, allocations: 406.5 kB / 1.281 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8105, allocations: 0 / 1.281 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.8113, allocations: 116.2 kB / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.8116, allocations: 32.3 kB / 1.281 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.8132, allocations: 0.5511 MB / 1.282 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.8137, allocations: 0.7747 MB / 1.282 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.381e-05/0.8138, allocations: 17.08 kB / 1.282 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.8138, allocations: 15.44 kB / 1.282 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8138, allocations: 3.938 kB / 1.282 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of Templates: time 0.01042/0.8242, allocations: 5.027 MB / 1.287 GB, free: 1.934 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.535366212017834]