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.0009227/0.0009227, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009227/0.0009227, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9115/0.9115, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.693/1.693, allocations: 359 MB / 0.6052 GB, free: 11 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 2.815e-06/2.815e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.107e-05, allocations: 6.25 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003106/0.003137, allocations: 1.566 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.004591, allocations: 0.5392 MB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.004661, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.004775, allocations: 7.875 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.004919, allocations: 32.78 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.005883, allocations: 312.7 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.006495, allocations: 487.4 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.006543, allocations: 5.047 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.007096, allocations: 355.6 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.00745, allocations: 133 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.007559, allocations: 28 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.007638, allocations: 24 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.007777, allocations: 119.7 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.007952, allocations: 137.3 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.008424, allocations: 374.9 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008427, allocations: 0 / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.008428, allocations: 0 / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.008436, allocations: 1.406 kB / 0.791 GB, free: 8.473 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.001311/0.009747, allocations: 0.9105 MB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.009791, allocations: 12.03 kB / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.00995, allocations: 58.59 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.01031, allocations: 254.8 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.01036, allocations: 20.36 kB / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.01043, allocations: 28.38 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.01096, allocations: 209.7 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.01097, allocations: 1.344 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.011, allocations: 4.375 kB / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01101, allocations: 4.375 kB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.01117, allocations: 56.5 kB / 0.7925 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.01158, allocations: 316.4 kB / 0.7928 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.01186, allocations: 135 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.01202, allocations: 64.12 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01204, allocations: 4 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.01234, allocations: 185.8 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01234, allocations: 0 / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0008114/0.01315, allocations: 380.9 kB / 0.7936 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.0132, allocations: 63.39 kB / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.01358, allocations: 418.7 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.01363, allocations: 41.69 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.01372, allocations: 144.1 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.01376, allocations: 35.73 kB / 0.7942 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.01396, allocations: 147.1 kB / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01409, allocations: 0.4884 MB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.01439, allocations: 183.3 kB / 0.795 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.01469, allocations: 241.1 kB / 0.7953 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.01504, allocations: 282.5 kB / 0.7955 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01504, allocations: 4 kB / 0.7955 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008498/0.01589, allocations: 0.5598 MB / 0.7961 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.01597, allocations: 79.38 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01597, allocations: 0 / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01599, allocations: 4 kB / 0.7962 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01617, allocations: 31.97 kB / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01618, allocations: 11.88 kB / 0.7962 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.01647, allocations: 52.05 kB / 0.7963 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.01656, allocations: 59.98 kB / 0.7963 GB, free: 2.727 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.0001625/0.01672, allocations: 180.6 kB / 0.7965 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.0168, allocations: 43.77 kB / 0.7965 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.01686, allocations: 43.61 kB / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01687, allocations: 0 / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01687, allocations: 0 / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01688, allocations: 3.938 kB / 0.7966 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.01785, allocations: 0.6693 MB / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01786, allocations: 0 / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.0179, allocations: 7.938 kB / 0.7972 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.0179, allocations: 0 / 0.7972 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.01794, allocations: 31.91 kB / 0.7973 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01795, allocations: 0 / 0.7973 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01795, allocations: 3.938 kB / 0.7973 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/0.01854, allocations: 466.5 kB / 0.7977 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.01876, allocations: 125.5 kB / 0.7978 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.01885, allocations: 11.94 kB / 0.7978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.0191, allocations: 27.97 kB / 0.7979 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.01913, allocations: 7.984 kB / 0.7979 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.0192, allocations: 51.98 kB / 0.7979 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002395/0.01944, allocations: 275.1 kB / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01944, allocations: 4 kB / 0.7982 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003935/0.01983, allocations: 63.98 kB / 0.7983 GB, free: 0.668 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.0001481/0.01998, allocations: 125.2 kB / 0.7984 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.02068, allocations: 425.7 kB / 0.7988 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02069, allocations: 0 / 0.7988 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.02087, allocations: 87.94 kB / 0.7989 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.02128, allocations: 51.91 kB / 0.7989 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.02229, allocations: 486.8 kB / 0.7994 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.67e-05/0.02236, allocations: 87.75 kB / 0.7995 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.02241, allocations: 17.14 kB / 0.7995 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.02246, allocations: 20.48 kB / 0.7995 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.02246, allocations: 0 / 0.7995 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.01101/0.03347, allocations: 6.584 MB / 0.8059 GB, free: 8.652 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.274718531873077]