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.0009044/0.0009044, 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.001011/0.001011, 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.9595/0.9595, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.453e-06/1.453e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.539e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002222/0.002248, allocations: 1.564 MB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000999/0.003247, allocations: 0.5362 MB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.0033, allocations: 0 / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003406, allocations: 15.86 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.003517, allocations: 28.53 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.004186, allocations: 308.9 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.004571, allocations: 491.4 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.004616, allocations: 8.609 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.004969, allocations: 355.6 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.005182, allocations: 125 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.005242, allocations: 30.19 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.0053, allocations: 28 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.005403, allocations: 115.7 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.005519, allocations: 131.7 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.005838, allocations: 378.9 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005842, allocations: 0 / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005843, allocations: 0.7812 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.00585, 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.0009188/0.006768, allocations: 0.9041 MB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.006808, allocations: 12.03 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.006923, allocations: 64.64 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.007219, allocations: 252.5 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.00726, allocations: 16.36 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.007312, allocations: 32.36 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.007695, allocations: 206.4 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.007706, allocations: 192 / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.007727, allocations: 4.375 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.007736, allocations: 0.9062 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.007844, allocations: 65.78 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.008163, allocations: 320.3 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.008379, allocations: 128.5 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.008484, allocations: 64.72 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.00851, allocations: 4 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.008726, allocations: 188.1 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.008727, allocations: 0 / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005684/0.009296, allocations: 376.2 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.009333, allocations: 55.41 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.009617, allocations: 422.7 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.009655, allocations: 41.69 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.009725, allocations: 148.8 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.00977, allocations: 39.73 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.009909, allocations: 139.1 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004513/0.01036, allocations: 0.5 MB / 0.8193 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.01058, allocations: 171.3 kB / 0.8195 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.01078, allocations: 245.1 kB / 0.8197 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01101, allocations: 273.1 kB / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01101, allocations: 4 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005534/0.01157, allocations: 0.553 MB / 0.8205 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.01163, allocations: 79.38 kB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.01164, allocations: 4 kB / 0.8206 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.01166, allocations: 0 / 0.8206 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01181, allocations: 43.84 kB / 0.8206 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.01182, allocations: 7.938 kB / 0.8206 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.01201, allocations: 52.05 kB / 0.8207 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.01207, allocations: 55.98 kB / 0.8207 GB, free: 7.996 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.0001386/0.01221, allocations: 188.5 kB / 0.8209 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.01226, allocations: 47.75 kB / 0.821 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.01231, allocations: 31.69 kB / 0.821 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01232, allocations: 0 / 0.821 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01232, allocations: 4 kB / 0.821 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01233, allocations: 3.938 kB / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.01303, allocations: 0.6731 MB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01303, allocations: 4 kB / 0.8217 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.01306, allocations: 0 / 0.8217 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01306, allocations: 7.984 kB / 0.8217 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.01309, allocations: 23.92 kB / 0.8217 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01309, allocations: 0 / 0.8217 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01309, allocations: 3.984 kB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.01347, allocations: 470 kB / 0.8221 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.01362, allocations: 121.5 kB / 0.8223 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.01367, allocations: 19.92 kB / 0.8223 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.01382, allocations: 23.92 kB / 0.8223 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.01386, allocations: 11.98 kB / 0.8223 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.0139, allocations: 55.97 kB / 0.8224 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000154/0.01406, allocations: 271.1 kB / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01406, allocations: 0 / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002282/0.01429, allocations: 67.98 kB / 0.8227 GB, free: 5.918 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.0001207/0.01441, allocations: 121.2 kB / 0.8228 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.01486, allocations: 433.6 kB / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01486, allocations: 0 / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01496, 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.000272/0.01524, allocations: 65.23 kB / 0.8234 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.016, allocations: 475 kB / 0.8238 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.01605, allocations: 91.81 kB / 0.8239 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.01608, allocations: 9.141 kB / 0.8239 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.01612, allocations: 20.5 kB / 0.8239 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01612, allocations: 0 / 0.8239 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.007116/0.02324, allocations: 5.976 MB / 0.8298 GB, free: 14.53 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.7026702971197665]