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.0009059/0.0009059, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009083/0.0009083, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 0.9286/0.9286, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.158e-05, allocations: 3.375 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00217/0.002192, allocations: 1.567 MB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.003127, allocations: 0.5376 MB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.003186, allocations: 7.938 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.439e-05/0.00328, allocations: 10.86 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.003385, allocations: 29.27 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.004018, allocations: 316.8 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.004402, allocations: 494.8 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.004439, allocations: 11.97 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.004769, allocations: 351.6 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.00497, allocations: 140.7 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.005025, allocations: 28 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.005069, allocations: 28 kB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.005164, allocations: 120.7 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.005262, allocations: 127.7 kB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.005531, allocations: 374.9 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005533, allocations: 0.6875 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005534, allocations: 0 / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.005537, allocations: 1.781 kB / 0.764 GB, free: 2.59 MB / 0.7136 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.0007253/0.006262, allocations: 0.7428 MB / 0.7647 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.006291, allocations: 9.094 kB / 0.7647 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.006367, allocations: 48.88 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.00659, allocations: 232 kB / 0.765 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.006621, allocations: 21.11 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.006673, allocations: 32.36 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.006974, allocations: 185.2 kB / 0.7652 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.006981, allocations: 192 / 0.7652 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.006998, allocations: 4.359 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.007003, allocations: 384 / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.007079, allocations: 44.3 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.007237, allocations: 120.9 kB / 0.7654 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.00738, allocations: 95.88 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.007451, allocations: 47.78 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.007465, allocations: 0.75 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.007614, allocations: 150 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.007615, allocations: 3.812 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003062/0.007921, allocations: 207.4 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.007953, allocations: 59.41 kB / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.00813, allocations: 335.3 kB / 0.7662 GB, free: 176 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.008164, allocations: 41.69 kB / 0.7663 GB, free: 128 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.008208, allocations: 93.44 kB / 0.7663 GB, free: 28 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.008248, allocations: 35.8 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.008353, allocations: 117.3 kB / 0.7665 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.008424, allocations: 330.7 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.008566, allocations: 155.3 kB / 0.767 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.008711, allocations: 204.1 kB / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.008881, allocations: 246.6 kB / 0.7674 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.008883, allocations: 0 / 0.7674 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003361/0.009219, allocations: 442.6 kB / 0.7678 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.009269, allocations: 81.56 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009274, allocations: 5 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.009288, allocations: 4 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.009387, allocations: 27.97 kB / 0.7679 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.009391, allocations: 8.531 kB / 0.7679 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.009547, allocations: 44.55 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.009596, allocations: 60.98 kB / 0.768 GB, free: 14.18 MB / 0.7292 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.0001204/0.009717, allocations: 148.5 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.009774, allocations: 29 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.009826, allocations: 35.62 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.00983, allocations: 4.922 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009832, allocations: 0 / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.009839, allocations: 0 / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.0103, allocations: 376.8 kB / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0103, allocations: 0 / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.01033, allocations: 11.94 kB / 0.7686 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01033, allocations: 1.219 kB / 0.7686 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01034, allocations: 11.97 kB / 0.7686 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01035, allocations: 0 / 0.7686 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01035, allocations: 1.719 kB / 0.7686 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.01055, allocations: 244.4 kB / 0.7689 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.01069, allocations: 115.5 kB / 0.769 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.01073, allocations: 15.98 kB / 0.769 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.01091, allocations: 29.88 kB / 0.769 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.01093, allocations: 15.92 kB / 0.769 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.01097, allocations: 44.92 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.164e-05/0.01106, allocations: 136.7 kB / 0.7692 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01106, allocations: 1.062 kB / 0.7692 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001961/0.01126, allocations: 67.94 kB / 0.7693 GB, free: 12.89 MB / 0.7292 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 9.906e-05/0.01135, allocations: 106.4 kB / 0.7694 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.01173, allocations: 402.8 kB / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.01174, allocations: 5.062 kB / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.01183, allocations: 61.81 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01201, allocations: 44.14 kB / 0.7698 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.01258, allocations: 473.5 kB / 0.7703 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.01263, allocations: 83.81 kB / 0.7704 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.01266, allocations: 14.64 kB / 0.7704 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.01283, allocations: 118.6 kB / 0.7705 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of SimCode: time 8.31e-07/0.01283, allocations: 4 kB / 0.7705 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.006228/0.01906, allocations: 5.409 MB / 0.7758 GB, free: 6.141 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.3441456579603255]