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.0009534/0.0009534, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009529/0.0009529, allocations: 185 kB / 24.09 MB, free: 416 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 0.973/0.973, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.921/1.921, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.242e-06/1.242e-06, allocations: 0 / 0.8119 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.799e-05, allocations: 7.5 kB / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001979/0.001997, allocations: 1.562 MB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.002951, allocations: 0.5352 MB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.002999, allocations: 4.781 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.186e-05/0.003071, allocations: 7.875 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.003159, allocations: 33.47 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.003686, allocations: 320.8 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.00403, allocations: 487.4 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.735e-05/0.004057, allocations: 5.594 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.004406, allocations: 351.6 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.004609, allocations: 135.5 kB / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.004665, allocations: 28 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.004717, allocations: 29.09 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.004811, allocations: 123.6 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.004916, allocations: 123.7 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.005228, allocations: 384.3 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00523, allocations: 0 / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005231, allocations: 3.938 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.005236, allocations: 0 / 0.8159 GB, free: 13.43 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.001152/0.006389, allocations: 0.9083 MB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.006422, allocations: 8.031 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.006508, allocations: 61.84 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.006734, allocations: 262.8 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.006767, allocations: 24.36 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.006815, allocations: 26.92 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.007127, allocations: 201.8 kB / 0.8174 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.007135, allocations: 192 / 0.8174 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.007149, allocations: 4.375 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.007155, allocations: 384 / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.007244, allocations: 54 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.00747, allocations: 249 kB / 0.8177 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.00763, allocations: 129.5 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.00771, allocations: 58.12 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.00773, allocations: 4 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.007894, allocations: 176.7 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.007895, allocations: 0 / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004484/0.008344, allocations: 360.8 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.008371, allocations: 59.41 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.00859, allocations: 418.5 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.008622, allocations: 41.69 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.008675, allocations: 148.1 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.008705, allocations: 43.7 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.008817, allocations: 135 kB / 0.8192 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.008922, allocations: 0.5 MB / 0.8197 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.009074, allocations: 159.3 kB / 0.8198 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.009235, allocations: 233.1 kB / 0.8201 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.009418, allocations: 254.7 kB / 0.8203 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009421, allocations: 0 / 0.8203 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004507/0.009871, allocations: 0.529 MB / 0.8208 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.009917, allocations: 83.36 kB / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009922, allocations: 4 kB / 0.8209 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.009934, allocations: 4 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01004, allocations: 35.98 kB / 0.8209 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01004, allocations: 7.922 kB / 0.8209 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01021, allocations: 55.98 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.01026, allocations: 55.98 kB / 0.821 GB, free: 7.875 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.000102/0.01036, allocations: 188.5 kB / 0.8212 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.0104, allocations: 39.77 kB / 0.8213 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.01045, allocations: 39.67 kB / 0.8213 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01045, allocations: 0 / 0.8213 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.01045, allocations: 7.938 kB / 0.8213 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01045, allocations: 0 / 0.8213 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.011, allocations: 0.6073 MB / 0.8219 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.011, allocations: 0 / 0.8219 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.01103, allocations: 11.94 kB / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.01103, allocations: 0 / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.01105, allocations: 19.97 kB / 0.8219 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01105, allocations: 4 kB / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01105, allocations: 3.938 kB / 0.8219 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.0114, allocations: 457.8 kB / 0.8224 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.01153, allocations: 117.5 kB / 0.8225 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.01157, allocations: 15.98 kB / 0.8225 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.01175, allocations: 27.98 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.01177, allocations: 15.91 kB / 0.8225 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.0118, allocations: 55.98 kB / 0.8226 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001211/0.01193, allocations: 263 kB / 0.8229 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01193, allocations: 0 / 0.8229 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002099/0.01214, allocations: 71.98 kB / 0.8229 GB, free: 5.891 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 8.981e-05/0.01223, allocations: 117.2 kB / 0.823 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.01262, allocations: 420.2 kB / 0.8234 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01262, allocations: 384 / 0.8234 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.01272, allocations: 87.52 kB / 0.8235 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01294, allocations: 53.56 kB / 0.8236 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.01379, allocations: 475 kB / 0.824 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.01383, allocations: 87.75 kB / 0.8241 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01386, allocations: 13.14 kB / 0.8241 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.01403, allocations: 150.1 kB / 0.8243 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01403, allocations: 0 / 0.8243 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of Templates: time 0.006482/0.02051, allocations: 5.435 MB / 0.8296 GB, free: 14.95 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.786700818222016]