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.0009278/0.0009278, 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.001033/0.001033, allocations: 161 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.95/1.95, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.522e-06/1.522e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.284e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00235/0.002373, allocations: 1.616 MB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003432, allocations: 0.5456 MB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.003502, allocations: 0.875 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.003595, allocations: 13.08 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.003712, allocations: 25.7 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.004454, allocations: 317.6 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.004953, allocations: 492.7 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.004993, allocations: 8.516 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.005415, allocations: 361.2 kB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.005671, allocations: 135 kB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.005727, allocations: 28 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.005771, allocations: 24.81 kB / 0.7635 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.005862, allocations: 119.7 kB / 0.7636 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.005968, allocations: 133.1 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.006292, allocations: 378.8 kB / 0.7641 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006295, allocations: 0 / 0.7641 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006296, allocations: 0 / 0.7641 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.006302, allocations: 1.031 kB / 0.7641 GB, free: 2.547 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.0008117/0.007114, allocations: 0.7321 MB / 0.7648 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.007147, allocations: 12.72 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.007231, allocations: 44.88 kB / 0.7648 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.007469, allocations: 242.7 kB / 0.7651 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.007505, allocations: 20.36 kB / 0.7651 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.007549, allocations: 24.38 kB / 0.7651 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.007871, allocations: 185 kB / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007879, allocations: 1.062 kB / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.007896, allocations: 4.375 kB / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.0079, allocations: 384 / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.00798, allocations: 50.22 kB / 0.7653 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.008164, allocations: 116.9 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.00898, allocations: 97.34 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.00906, allocations: 47.03 kB / 0.7656 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.009076, allocations: 4 kB / 0.7656 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.009241, allocations: 153.8 kB / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.009242, allocations: 0 / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003292/0.009571, allocations: 203.1 kB / 0.7659 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.009606, allocations: 64.11 kB / 0.766 GB, free: 480 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.009803, allocations: 331.3 kB / 0.7663 GB, free: 136 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.009837, allocations: 39.52 kB / 0.7663 GB, free: 92 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.009895, allocations: 93.44 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.009932, allocations: 39.77 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.01006, allocations: 113.4 kB / 0.7666 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.01014, allocations: 326.8 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.0103, allocations: 156.2 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.01045, allocations: 201.2 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01065, allocations: 261.3 kB / 0.7675 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01065, allocations: 0 / 0.7675 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003743/0.01103, allocations: 433 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.01108, allocations: 87.36 kB / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01109, allocations: 4 kB / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.0111, allocations: 0 / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01124, allocations: 40.78 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.01124, allocations: 0 / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.01141, allocations: 48.64 kB / 0.7681 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.01146, allocations: 52.86 kB / 0.7681 GB, free: 14.14 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.000121/0.01158, allocations: 149.1 kB / 0.7683 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.01162, allocations: 27.97 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01166, allocations: 36.98 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01167, allocations: 0 / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01167, allocations: 4 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01167, allocations: 0.7812 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.01212, allocations: 375.7 kB / 0.7687 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01212, allocations: 1.781 kB / 0.7687 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.01214, allocations: 4 kB / 0.7687 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01215, allocations: 4 kB / 0.7687 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01217, allocations: 11.97 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01217, allocations: 0 / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01217, allocations: 4.719 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01239, allocations: 244.5 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.01253, allocations: 119.5 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.01258, allocations: 12 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.01276, allocations: 29.69 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.01279, allocations: 23.86 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.01283, allocations: 45.23 kB / 0.7692 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001077/0.01294, allocations: 140.7 kB / 0.7693 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01294, allocations: 3.938 kB / 0.7693 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002161/0.01315, allocations: 67.98 kB / 0.7694 GB, free: 12.84 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 0.0001158/0.01327, allocations: 98.66 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.01368, allocations: 406 kB / 0.7698 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.01369, allocations: 4 kB / 0.7698 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.01378, allocations: 57.83 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01399, allocations: 48.14 kB / 0.7699 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.01465, allocations: 470.8 kB / 0.7704 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.0147, allocations: 87.81 kB / 0.7705 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01474, allocations: 10.89 kB / 0.7705 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.01493, allocations: 123.2 kB / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/0.01493, allocations: 0 / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.007045/0.02197, allocations: 5.409 MB / 0.7759 GB, free: 6.086 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 -s gbode -gbm=radauIIA3 -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.6943056201562285]