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.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.0009791/0.0009791, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001039/0.001039, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.847/1.847, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.683e-06/1.683e-06, allocations: 0 / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.648e-05, allocations: 2.312 kB / 0.787 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002047/0.002074, allocations: 1.572 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.00313, allocations: 0.5338 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.003184, allocations: 1.625 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003303, allocations: 15.86 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.003414, allocations: 27.84 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.004071, allocations: 312.5 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.004451, allocations: 483.4 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.004492, allocations: 8.625 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.00483, allocations: 357 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.005035, allocations: 139.5 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.005093, allocations: 24.84 kB / 0.7904 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.005144, allocations: 28 kB / 0.7904 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.005251, allocations: 116.3 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.005367, allocations: 127.7 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.005685, allocations: 379.6 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.005689, allocations: 0 / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/0.005691, allocations: 0.9062 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.005697, allocations: 0 / 0.791 GB, free: 8.441 MB / 0.7448 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.0009236/0.00662, allocations: 0.9111 MB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.006663, allocations: 9.625 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.006776, allocations: 64.69 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.007072, allocations: 258.8 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.007116, allocations: 20.36 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.00717, allocations: 33.33 kB / 0.7923 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.007563, allocations: 197.5 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007575, allocations: 5.125 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.007595, allocations: 384 / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.007607, allocations: 4.125 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.00772, allocations: 57.41 kB / 0.7925 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.008122, allocations: 324.3 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.008351, allocations: 122.8 kB / 0.793 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.008463, allocations: 66.03 kB / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.008494, allocations: 4 kB / 0.793 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.008721, allocations: 183.7 kB / 0.7932 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.008723, allocations: 0.5 kB / 0.7932 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005917/0.009314, allocations: 386.8 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.009359, allocations: 60.38 kB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.009633, allocations: 418.7 kB / 0.794 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.009671, allocations: 41.69 kB / 0.7941 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.009739, allocations: 149.2 kB / 0.7942 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.009775, allocations: 31.75 kB / 0.7942 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.009904, allocations: 127.1 kB / 0.7944 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01003, allocations: 0.4967 MB / 0.7948 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.01025, allocations: 183.3 kB / 0.795 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01046, allocations: 245.1 kB / 0.7953 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.0107, allocations: 278.8 kB / 0.7955 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0107, allocations: 0 / 0.7955 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005539/0.01126, allocations: 0.5625 MB / 0.7961 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.01132, allocations: 83.38 kB / 0.7961 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01132, allocations: 0 / 0.7961 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01134, allocations: 7.938 kB / 0.7962 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01149, allocations: 35.97 kB / 0.7962 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.0115, allocations: 7.875 kB / 0.7962 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01168, allocations: 47.86 kB / 0.7962 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.01174, allocations: 60.17 kB / 0.7963 GB, free: 2.707 MB / 0.7448 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.0001385/0.01188, allocations: 184.6 kB / 0.7965 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.01194, allocations: 47.75 kB / 0.7965 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.01199, allocations: 35.62 kB / 0.7966 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01199, allocations: 4 kB / 0.7966 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.012, allocations: 7.922 kB / 0.7966 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.012, allocations: 0 / 0.7966 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/0.01273, allocations: 0.672 MB / 0.7972 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01273, allocations: 4 kB / 0.7972 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01277, allocations: 7.938 kB / 0.7972 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01277, allocations: 0 / 0.7972 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.0128, allocations: 27.91 kB / 0.7973 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.0128, allocations: 4 kB / 0.7973 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0128, allocations: 0 / 0.7973 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.0132, allocations: 452 kB / 0.7977 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.01335, allocations: 129.5 kB / 0.7978 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.0134, allocations: 23.86 kB / 0.7978 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.01355, allocations: 19.98 kB / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01359, allocations: 11.98 kB / 0.7979 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.01363, allocations: 59.97 kB / 0.7979 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001558/0.01379, allocations: 267.1 kB / 0.7982 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01379, allocations: 0 / 0.7982 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002346/0.01403, allocations: 71.98 kB / 0.7983 GB, free: 0.6367 MB / 0.7448 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.0001206/0.01415, allocations: 113.2 kB / 0.7984 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.0146, allocations: 433.6 kB / 0.7988 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0146, allocations: 0 / 0.7988 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01472, allocations: 86.16 kB / 0.7989 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01501, allocations: 53.61 kB / 0.7989 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.01577, allocations: 478.9 kB / 0.7994 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.01582, allocations: 91.73 kB / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01586, allocations: 13.16 kB / 0.7995 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.0159, allocations: 16.48 kB / 0.7995 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.0159, allocations: 4 kB / 0.7995 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.007281/0.02318, allocations: 5.977 MB / 0.8053 GB, free: 9.242 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.899232801049948]