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.001289/0.001289, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001595/0.001595, allocations: 163.2 kB / 24.87 MB, free: 8.684 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.791/1.791, allocations: 359 MB / 0.6063 GB, free: 10.93 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.954e-06/1.954e-06, allocations: 0 / 0.7883 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.748e-05, allocations: 7.469 kB / 0.7883 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00302/0.003048, allocations: 1.559 MB / 0.7898 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.004568, allocations: 0.5322 MB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.004635, allocations: 6.844 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.004749, allocations: 3.938 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.00488, allocations: 27.86 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.005727, allocations: 323.2 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.006278, allocations: 483.4 kB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.00632, allocations: 1.312 kB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.006841, allocations: 363.5 kB / 0.7915 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.007145, allocations: 132.1 kB / 0.7916 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.007222, allocations: 29 kB / 0.7916 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.007286, allocations: 24 kB / 0.7916 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.00742, allocations: 115.7 kB / 0.7917 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.007578, allocations: 132.3 kB / 0.7919 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.008002, allocations: 378.9 kB / 0.7922 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.008007, allocations: 1.531 kB / 0.7922 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.008008, allocations: 0 / 0.7922 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.008013, allocations: 0 / 0.7922 GB, free: 8.242 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.001177/0.00919, allocations: 0.9156 MB / 0.7931 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.00923, allocations: 12.03 kB / 0.7931 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.009374, allocations: 56.66 kB / 0.7932 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.00972, allocations: 261.2 kB / 0.7934 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.009771, allocations: 16.38 kB / 0.7935 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.009847, allocations: 28.36 kB / 0.7935 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.01034, allocations: 197 kB / 0.7937 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01035, allocations: 1.562 kB / 0.7937 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.01038, allocations: 4.359 kB / 0.7937 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.01039, allocations: 8.312 kB / 0.7937 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.01054, allocations: 58.97 kB / 0.7937 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.01089, allocations: 241.8 kB / 0.794 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.01117, allocations: 122.2 kB / 0.7941 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.01132, allocations: 62.5 kB / 0.7941 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01134, allocations: 0 / 0.7941 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.01161, allocations: 177.5 kB / 0.7943 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.01162, allocations: 0 / 0.7943 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0008003/0.01242, allocations: 365.6 kB / 0.7947 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.01246, allocations: 63.41 kB / 0.7947 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.01283, allocations: 410.5 kB / 0.7951 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.01288, allocations: 41.69 kB / 0.7952 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.01306, allocations: 152.1 kB / 0.7953 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.01311, allocations: 35.72 kB / 0.7953 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.01328, allocations: 135 kB / 0.7955 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.01339, allocations: 0.4961 MB / 0.7959 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.01356, allocations: 163.3 kB / 0.7961 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01373, allocations: 237 kB / 0.7963 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.01392, allocations: 264.5 kB / 0.7966 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01393, allocations: 3.938 kB / 0.7966 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005142/0.01444, allocations: 0.5312 MB / 0.7971 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.0145, allocations: 83.38 kB / 0.7972 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.0145, allocations: 0 / 0.7972 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.01451, allocations: 4 kB / 0.7972 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01464, allocations: 40.09 kB / 0.7972 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01464, allocations: 4 kB / 0.7972 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.01482, allocations: 51.8 kB / 0.7973 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.01487, allocations: 51.98 kB / 0.7973 GB, free: 2.691 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.0001172/0.01499, allocations: 192.5 kB / 0.7975 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.01504, allocations: 43.77 kB / 0.7976 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.01508, allocations: 35.67 kB / 0.7976 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01508, allocations: 4 kB / 0.7976 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01508, allocations: 0 / 0.7976 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01509, allocations: 4 kB / 0.7976 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.01569, allocations: 0.6112 MB / 0.7982 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0157, allocations: 0 / 0.7982 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.01572, allocations: 7.938 kB / 0.7982 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01572, allocations: 0 / 0.7982 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.01575, allocations: 19.97 kB / 0.7982 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01575, allocations: 4 kB / 0.7982 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01575, allocations: 3.938 kB / 0.7982 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.01612, allocations: 454.7 kB / 0.7987 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.01627, allocations: 121.5 kB / 0.7988 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.01631, allocations: 19.98 kB / 0.7988 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01647, allocations: 19.98 kB / 0.7988 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.01649, allocations: 11.92 kB / 0.7988 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.01653, allocations: 59.97 kB / 0.7989 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001302/0.01666, allocations: 263 kB / 0.7991 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01666, allocations: 7.938 kB / 0.7991 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002265/0.01689, allocations: 67.98 kB / 0.7992 GB, free: 0.707 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.0001159/0.01701, allocations: 113.2 kB / 0.7993 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.01739, allocations: 409.6 kB / 0.7997 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01739, allocations: 0 / 0.7997 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.499e-05/0.01749, allocations: 75.95 kB / 0.7998 GB, free: 68 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01774, allocations: 60.14 kB / 0.7998 GB, free: 8 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.01842, allocations: 482.8 kB / 0.8003 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.01847, allocations: 87.8 kB / 0.8004 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.0185, allocations: 9.156 kB / 0.8004 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.01867, allocations: 142.2 kB / 0.8005 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.01867, allocations: 0 / 0.8005 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.006485/0.02515, allocations: 5.597 MB / 0.806 GB, free: 9.605 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.659203197341412]