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.001163/0.001163, 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.001196/0.001196, 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.9044/0.9044, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.573e-06/1.573e-06, allocations: 0 / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.272e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002049/0.002072, allocations: 1.571 MB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003104, allocations: 0.5506 MB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.003178, allocations: 1.531 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.003293, allocations: 7.875 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.003418, allocations: 27.84 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.004445, allocations: 308.7 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000442/0.004887, allocations: 491.4 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.004935, allocations: 9.422 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.005359, allocations: 351.6 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.005629, allocations: 128.9 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.005691, allocations: 28 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.505e-05/0.005746, allocations: 28 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.005884, allocations: 120.2 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.00601, allocations: 123.7 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.006349, allocations: 387.3 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006352, allocations: 0.875 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.006353, allocations: 0 / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.006359, allocations: 0 / 0.8155 GB, free: 13.71 MB / 0.7761 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.0009357/0.007295, allocations: 0.8996 MB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.007332, allocations: 12.56 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.007449, allocations: 66.02 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.007708, allocations: 254.9 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.007746, allocations: 12.38 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.007793, allocations: 32.36 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.008187, allocations: 210 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008197, allocations: 5.734 kB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.008222, allocations: 8.375 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.00823, allocations: 384 / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.00833, allocations: 56.25 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.008688, allocations: 320.8 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.008933, allocations: 124.7 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.009042, allocations: 62.81 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.009071, allocations: 5.031 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.009319, allocations: 185.2 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.009321, allocations: 1.062 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005573/0.009878, allocations: 378.3 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.009924, allocations: 55.41 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.01019, allocations: 430.6 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.01023, allocations: 37.7 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.0103, allocations: 148.1 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01033, allocations: 39.73 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.01046, allocations: 135.1 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01057, allocations: 0.4962 MB / 0.8193 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.01077, allocations: 171.3 kB / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.01098, allocations: 245.1 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.01122, allocations: 273 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01122, allocations: 0 / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005568/0.01178, allocations: 0.5556 MB / 0.8205 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.01183, allocations: 83.38 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.01185, allocations: 4 kB / 0.8206 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01186, allocations: 3.938 kB / 0.8206 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.012, allocations: 35.91 kB / 0.8206 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002809/0.01228, allocations: 7.938 kB / 0.8206 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.01247, allocations: 56.05 kB / 0.8207 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.01253, allocations: 55.98 kB / 0.8207 GB, free: 7.988 MB / 0.7761 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.0001348/0.01266, allocations: 188.5 kB / 0.8209 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.01272, allocations: 47.75 kB / 0.821 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.01276, allocations: 31.69 kB / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01276, allocations: 0 / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01277, allocations: 4 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.01277, allocations: 7.922 kB / 0.821 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.01351, allocations: 0.6692 MB / 0.8217 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01351, allocations: 0 / 0.8217 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.01355, allocations: 7.984 kB / 0.8217 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01355, allocations: 4 kB / 0.8217 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.01357, allocations: 23.92 kB / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01358, allocations: 0 / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01358, allocations: 0 / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.01398, allocations: 474.6 kB / 0.8222 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.01411, allocations: 121.5 kB / 0.8223 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.01416, allocations: 23.86 kB / 0.8223 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.01431, allocations: 15.98 kB / 0.8223 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01435, allocations: 11.98 kB / 0.8223 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.01439, allocations: 55.97 kB / 0.8224 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001541/0.01454, allocations: 275.1 kB / 0.8226 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01454, allocations: 0 / 0.8226 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002442/0.01479, allocations: 64 kB / 0.8227 GB, free: 5.914 MB / 0.7761 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.0001277/0.01492, allocations: 117.2 kB / 0.8228 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.0154, allocations: 433.6 kB / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01541, allocations: 0 / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01552, allocations: 83.91 kB / 0.8233 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.0158, allocations: 53.59 kB / 0.8234 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.01654, allocations: 480.7 kB / 0.8238 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.0166, allocations: 87.81 kB / 0.8239 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.01664, allocations: 17.14 kB / 0.8239 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.01668, allocations: 20.5 kB / 0.8239 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01668, allocations: 0 / 0.8239 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of Templates: time 0.007907/0.02458, allocations: 6.586 MB / 0.8304 GB, free: 13.91 MB / 0.7917 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.515448820311576]