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.001438/0.001438, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00179/0.00179, allocations: 177 kB / 23.36 MB, free: 1.133 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.506/2.506, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.635e-06/2.635e-06, allocations: 4 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/2.016e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002002/0.002023, allocations: 1.607 MB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.00302, allocations: 0.5479 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.003076, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.761e-05/0.003164, allocations: 11.88 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.003264, allocations: 23.86 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.003888, allocations: 323.2 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.004271, allocations: 491.4 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.004309, allocations: 4 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.004665, allocations: 359.6 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.004886, allocations: 139.7 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.004934, allocations: 24 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.004985, allocations: 28 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.00507, allocations: 115.7 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.005169, allocations: 131.7 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.005449, allocations: 374.9 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005451, allocations: 3.938 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005452, allocations: 0 / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.005456, allocations: 0 / 0.8426 GB, free: 10.07 MB / 0.8073 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.0007604/0.006216, allocations: 0.7427 MB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.006245, allocations: 8.625 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.006325, allocations: 56.86 kB / 0.8434 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.00655, allocations: 236.1 kB / 0.8436 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.006585, allocations: 12.38 kB / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.00663, allocations: 28.36 kB / 0.8437 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.006937, allocations: 190.5 kB / 0.8438 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006943, allocations: 192 / 0.8438 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.006959, allocations: 8.25 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006964, allocations: 4.375 kB / 0.8439 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.007039, allocations: 39.92 kB / 0.8439 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.0072, allocations: 112.9 kB / 0.844 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.007351, allocations: 94.67 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.007425, allocations: 53.06 kB / 0.8441 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.007442, allocations: 8 kB / 0.8441 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.00761, allocations: 143.2 kB / 0.8443 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.007611, allocations: 0 / 0.8443 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003168/0.007928, allocations: 201.5 kB / 0.8445 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.007959, allocations: 71.39 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.008146, allocations: 319.3 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.008181, allocations: 45.69 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.008226, allocations: 101.3 kB / 0.845 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.008259, allocations: 39.77 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.008371, allocations: 113.4 kB / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.008448, allocations: 326.7 kB / 0.8454 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.008606, allocations: 155.3 kB / 0.8456 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.008754, allocations: 201.3 kB / 0.8458 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.008943, allocations: 263.2 kB / 0.846 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008945, allocations: 0 / 0.846 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003589/0.009304, allocations: 432.1 kB / 0.8465 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.009364, allocations: 83.56 kB / 0.8465 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.009371, allocations: 3.984 kB / 0.8465 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.009386, allocations: 4 kB / 0.8465 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.009512, allocations: 47.89 kB / 0.8466 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.009515, allocations: 4 kB / 0.8466 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.009682, allocations: 43.92 kB / 0.8466 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.009732, allocations: 51.92 kB / 0.8467 GB, free: 5.586 MB / 0.8073 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.0001197/0.009852, allocations: 148.5 kB / 0.8468 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.009889, allocations: 23.97 kB / 0.8468 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.00993, allocations: 39.69 kB / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009932, allocations: 0 / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.009934, allocations: 0 / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.009938, allocations: 3.984 kB / 0.8469 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.01036, allocations: 376.7 kB / 0.8472 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01036, allocations: 0 / 0.8472 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.01039, allocations: 7.984 kB / 0.8473 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01039, allocations: 0 / 0.8473 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.01041, allocations: 19.97 kB / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01041, allocations: 0 / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01041, allocations: 0 / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.01064, allocations: 247.7 kB / 0.8475 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.01077, allocations: 111.5 kB / 0.8476 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.01082, allocations: 19.98 kB / 0.8476 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.01099, allocations: 27.98 kB / 0.8477 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.01102, allocations: 15.91 kB / 0.8477 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.01106, allocations: 47.98 kB / 0.8477 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000102/0.01116, allocations: 140.7 kB / 0.8479 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01116, allocations: 0 / 0.8479 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002109/0.01137, allocations: 60 kB / 0.8479 GB, free: 4.27 MB / 0.8073 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.0001121/0.01148, allocations: 98.39 kB / 0.848 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.01188, allocations: 416.8 kB / 0.8484 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.01189, allocations: 4 kB / 0.8484 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.01198, allocations: 61.14 kB / 0.8485 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.01219, allocations: 45.61 kB / 0.8485 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.01283, allocations: 463.3 kB / 0.849 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.01287, allocations: 87.81 kB / 0.849 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.01291, allocations: 17.12 kB / 0.8491 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.01308, allocations: 119.3 kB / 0.8492 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.01308, allocations: 0 / 0.8492 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of Templates: time 0.00672/0.0198, allocations: 5.411 MB / 0.8544 GB, free: 13.43 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.121769163757563]