Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001026/0.001026, 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.0009978/0.0009978, 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.925/0.925, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.855/1.855, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.167e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003041/0.003072, allocations: 1.567 MB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004484, allocations: 0.5357 MB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.004554, allocations: 0.875 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.004672, allocations: 11.86 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.004802, allocations: 33.09 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.005726, allocations: 316.8 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.006338, allocations: 483.4 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.006385, allocations: 11.98 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.006991, allocations: 353 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.007337, allocations: 129.6 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.007437, allocations: 29.5 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.007517, allocations: 28 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.007653, allocations: 119.6 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.007831, allocations: 131.7 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.008327, allocations: 379.5 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.008331, allocations: 0 / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008332, allocations: 1 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.008344, allocations: 3.984 kB / 0.8155 GB, free: 13.66 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.001365/0.009709, allocations: 0.8995 MB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.009754, allocations: 10 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.009926, allocations: 68.64 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.01033, allocations: 250.9 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.01039, allocations: 24.3 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.01048, allocations: 28.36 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.01105, allocations: 205.7 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01106, allocations: 2.031 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.01109, allocations: 4.375 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.0111, allocations: 384 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.01126, allocations: 60.47 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.01171, allocations: 316.3 kB / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.01202, allocations: 126.6 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.01218, allocations: 62.58 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.01221, allocations: 7.984 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.01253, allocations: 181.1 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.01253, allocations: 0 / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0008612/0.01339, allocations: 380.9 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.01344, allocations: 63.34 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.01387, allocations: 426.6 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.01393, allocations: 41.69 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.01401, allocations: 144.1 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.01407, allocations: 35.75 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.01428, allocations: 139 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.01443, allocations: 0.4923 MB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.01475, allocations: 175.3 kB / 0.8195 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.01508, allocations: 249.1 kB / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.01541, allocations: 269 kB / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01541, allocations: 0 / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005848/0.016, allocations: 0.5569 MB / 0.8205 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.01606, allocations: 79.38 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01607, allocations: 4 kB / 0.8206 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.0161, allocations: 7.938 kB / 0.8206 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01624, allocations: 35.97 kB / 0.8206 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.01626, allocations: 7.922 kB / 0.8206 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.01645, allocations: 51.8 kB / 0.8207 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.01651, allocations: 63.92 kB / 0.8208 GB, free: 7.945 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0001279/0.01664, allocations: 182.7 kB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.0167, allocations: 47.75 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.01674, allocations: 35.67 kB / 0.821 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01675, allocations: 4 kB / 0.821 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01675, allocations: 0 / 0.821 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01676, allocations: 3.938 kB / 0.821 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.01746, allocations: 0.6731 MB / 0.8217 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01746, allocations: 4 kB / 0.8217 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.01749, allocations: 8 kB / 0.8217 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01749, allocations: 0 / 0.8217 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.01752, allocations: 27.91 kB / 0.8217 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01752, allocations: 3.938 kB / 0.8217 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01752, allocations: 0 / 0.8217 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.01791, allocations: 460 kB / 0.8222 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.01806, allocations: 121.5 kB / 0.8223 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.01811, allocations: 19.92 kB / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01827, allocations: 19.98 kB / 0.8223 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.0183, allocations: 11.98 kB / 0.8223 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.01835, allocations: 59.97 kB / 0.8224 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001519/0.0185, allocations: 267.1 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0185, allocations: 0 / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000235/0.01873, allocations: 71.98 kB / 0.8227 GB, free: 5.875 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001211/0.01885, allocations: 115.7 kB / 0.8228 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.01933, allocations: 432 kB / 0.8232 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01933, allocations: 0 / 0.8232 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01945, allocations: 87.91 kB / 0.8233 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01973, allocations: 61.42 kB / 0.8234 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.0205, allocations: 475 kB / 0.8238 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.02055, allocations: 87.8 kB / 0.8239 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.02058, allocations: 13.16 kB / 0.8239 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.02063, allocations: 24.48 kB / 0.8239 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.02063, allocations: 0 / 0.8239 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of Templates: time 0.00731/0.02794, allocations: 5.892 MB / 0.8297 GB, free: 14.57 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.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.232361676171422]