Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0009432/0.0009432, allocations: 81.86 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.001077/0.001077, 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 1.089/1.089, 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.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.345e-05, allocations: 2.312 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002313/0.002346, allocations: 1.562 MB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003392, allocations: 0.5395 MB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.003459, allocations: 0 / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.168e-05/0.003551, allocations: 11.7 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.003658, allocations: 29.84 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.004354, allocations: 328.6 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.0048, allocations: 487.4 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.004846, allocations: 5.469 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.005251, allocations: 355.6 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.005482, allocations: 131.5 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.005542, allocations: 31.94 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.005596, allocations: 30.06 kB / 0.8154 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.005685, allocations: 119.7 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.005809, allocations: 127.7 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.00612, allocations: 378.8 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006123, allocations: 0 / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006123, allocations: 0.5312 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.006129, allocations: 0 / 0.816 GB, free: 13.4 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.000851/0.00698, allocations: 0.9122 MB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.00702, allocations: 8.031 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.007113, allocations: 62.16 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.007352, allocations: 262.8 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.007388, allocations: 20.36 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.007431, allocations: 24.38 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.008049, allocations: 210.8 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.008057, allocations: 1.281 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.008073, allocations: 384 / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.008079, allocations: 4.375 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.008162, allocations: 53.84 kB / 0.8175 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.008405, allocations: 245 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.008576, allocations: 122.1 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.008662, allocations: 57.12 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.008686, allocations: 7.938 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.008867, allocations: 181.8 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.008868, allocations: 0 / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004768/0.009345, allocations: 359.4 kB / 0.8184 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.009377, allocations: 63.41 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.009612, allocations: 410.5 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.009654, allocations: 41.69 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.009714, allocations: 156.1 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.009751, allocations: 31.73 kB / 0.8191 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.009873, allocations: 143 kB / 0.8192 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.009991, allocations: 0.4922 MB / 0.8197 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.01015, allocations: 159.3 kB / 0.8198 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.01031, allocations: 233.1 kB / 0.8201 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.0105, allocations: 259.2 kB / 0.8203 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.0105, allocations: 0 / 0.8203 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004888/0.01099, allocations: 0.5274 MB / 0.8208 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.01105, allocations: 83.36 kB / 0.8209 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01105, allocations: 0 / 0.8209 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01107, allocations: 4 kB / 0.8209 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01118, allocations: 32.17 kB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01119, allocations: 23.91 kB / 0.821 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.01137, allocations: 51.75 kB / 0.821 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.01142, allocations: 59.97 kB / 0.8211 GB, free: 7.84 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.0001267/0.01154, allocations: 182.5 kB / 0.8212 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.0116, allocations: 47.7 kB / 0.8213 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.01164, allocations: 31.69 kB / 0.8213 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01164, allocations: 7.984 kB / 0.8213 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01165, allocations: 4 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01165, allocations: 0 / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.01224, allocations: 0.6073 MB / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01224, allocations: 0 / 0.8219 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.01227, allocations: 7.938 kB / 0.8219 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01228, allocations: 0 / 0.8219 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.0123, allocations: 27.97 kB / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.0123, allocations: 0 / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01231, allocations: 7.938 kB / 0.822 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.01266, allocations: 449.5 kB / 0.8224 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.01281, allocations: 121.5 kB / 0.8225 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.01285, allocations: 8 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.01304, allocations: 31.97 kB / 0.8225 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.01306, allocations: 11.92 kB / 0.8226 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.01311, allocations: 63.97 kB / 0.8226 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001305/0.01324, allocations: 267 kB / 0.8229 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/0.01324, allocations: 0 / 0.8229 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002341/0.01347, allocations: 67.94 kB / 0.8229 GB, free: 5.859 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.0001204/0.01359, allocations: 120.9 kB / 0.823 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.01402, allocations: 424.5 kB / 0.8235 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01402, allocations: 0 / 0.8235 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.01411, allocations: 79.94 kB / 0.8235 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01437, allocations: 55.19 kB / 0.8236 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.01504, allocations: 478.9 kB / 0.824 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.01538, allocations: 83.81 kB / 0.8241 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01542, allocations: 17.14 kB / 0.8241 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.01562, allocations: 146.2 kB / 0.8243 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.01562, allocations: 0 / 0.8243 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.00698/0.0226, allocations: 5.328 MB / 0.8295 GB, free: 15.02 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.26925131585449]