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.0009307/0.0009307, allocations: 82.64 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.001063/0.001063, allocations: 181 kB / 24.09 MB, free: 420 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.422 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 2.545e-06/2.545e-06, allocations: 0 / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.247e-05, allocations: 2.312 kB / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002899/0.002932, allocations: 1.556 MB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004321, allocations: 0.5414 MB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.004394, allocations: 0 / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.0045, allocations: 11.86 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.004629, allocations: 23.86 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.005469, allocations: 322.2 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.005996, allocations: 495.4 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.006037, allocations: 0.625 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.006545, allocations: 361.2 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.00684, allocations: 139.1 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.006922, allocations: 24 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.006991, allocations: 28 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.00711, allocations: 116.3 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.007244, allocations: 132.3 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.00765, allocations: 374.8 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.007654, allocations: 4.719 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007655, allocations: 0 / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.007661, allocations: 5.047 kB / 0.816 GB, free: 13.42 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.001125/0.008785, allocations: 0.9079 MB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.008831, allocations: 12.03 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.008969, allocations: 68.64 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.009292, allocations: 248.7 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.009339, allocations: 16.36 kB / 0.8172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.009408, allocations: 36.3 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.009869, allocations: 201.9 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.009878, allocations: 0.75 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.009901, allocations: 8.922 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.009908, allocations: 384 / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.01003, allocations: 53.22 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.01036, allocations: 249 kB / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.01059, allocations: 111.9 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.01072, allocations: 71.88 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.01075, allocations: 4.656 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.01101, allocations: 177.5 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.01101, allocations: 1.094 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0006837/0.01169, allocations: 357.1 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.01174, allocations: 63.33 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.01207, allocations: 418.5 kB / 0.8189 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/0.0124, allocations: 41.7 kB / 0.8189 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.01248, allocations: 144.1 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.01253, allocations: 43.7 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.0127, allocations: 131.1 kB / 0.8192 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.01286, allocations: 0.5039 MB / 0.8197 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.01309, allocations: 159.3 kB / 0.8198 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.01333, allocations: 225.1 kB / 0.8201 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.01361, allocations: 270.7 kB / 0.8203 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01361, allocations: 0 / 0.8203 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007173/0.01433, allocations: 0.5235 MB / 0.8208 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.0144, allocations: 79.38 kB / 0.8209 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01441, allocations: 8.188 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01443, allocations: 0 / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01459, allocations: 35.91 kB / 0.8209 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.0146, allocations: 7.984 kB / 0.821 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.01484, allocations: 51.8 kB / 0.821 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.01493, allocations: 59.98 kB / 0.8211 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 (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.0001592/0.01509, allocations: 182.5 kB / 0.8212 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.01516, allocations: 47.75 kB / 0.8213 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.01522, allocations: 35.69 kB / 0.8213 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01522, allocations: 4 kB / 0.8213 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01523, allocations: 0 / 0.8213 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01523, allocations: 0 / 0.8213 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.01609, allocations: 0.6154 MB / 0.8219 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.0161, allocations: 0 / 0.8219 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.01613, allocations: 7.984 kB / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01614, allocations: 0 / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.01617, allocations: 23.97 kB / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01617, allocations: 3.938 kB / 0.822 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01617, allocations: 3.938 kB / 0.822 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.01671, allocations: 458.2 kB / 0.8224 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.01693, allocations: 125.5 kB / 0.8225 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.01699, allocations: 8 kB / 0.8225 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.01727, allocations: 35.97 kB / 0.8226 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.01731, allocations: 15.92 kB / 0.8226 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.01737, allocations: 55.97 kB / 0.8226 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001916/0.01756, allocations: 259 kB / 0.8229 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01756, allocations: 0 / 0.8229 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003602/0.01792, allocations: 63.98 kB / 0.8229 GB, free: 5.895 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.0001713/0.0181, allocations: 123.2 kB / 0.823 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006553/0.01875, allocations: 425.6 kB / 0.8235 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01875, allocations: 0 / 0.8235 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.01891, allocations: 82.02 kB / 0.8235 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.01931, allocations: 55.09 kB / 0.8236 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.02028, allocations: 483 kB / 0.824 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.02035, allocations: 83.81 kB / 0.8241 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.0204, allocations: 13.14 kB / 0.8241 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.02065, allocations: 138.2 kB / 0.8243 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of SimCode: time 1.533e-06/0.02065, allocations: 0 / 0.8243 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of Templates: time 0.009887/0.03054, allocations: 5.338 MB / 0.8295 GB, free: 15.04 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.266146827023476]