Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.0008239/0.0008239, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009406/0.0009406, allocations: 173 kB / 24.28 MB, free: 272 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.9265/0.9265, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.924/1.924, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.673e-05, allocations: 7.016 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003527/0.003563, allocations: 1.791 MB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.00528, allocations: 0.6189 MB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.005379, allocations: 0 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.005506, allocations: 16.89 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.005677, allocations: 39.72 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.00671, allocations: 364.2 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.007419, allocations: 0.5982 MB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.007556, allocations: 25.28 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.008055, allocations: 419.6 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.008279, allocations: 133.3 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.008334, allocations: 40 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.008385, allocations: 45.44 kB / 0.8156 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.008503, allocations: 131.6 kB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.008628, allocations: 147.7 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.009009, allocations: 438.7 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.009013, allocations: 1.875 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.009015, allocations: 0 / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.009023, allocations: 0 / 0.8162 GB, free: 13.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001216/0.01024, allocations: 0.9416 MB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01028, allocations: 13.5 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.0104, allocations: 60.66 kB / 0.8172 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.01071, allocations: 286.7 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.01075, allocations: 24.36 kB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.0108, allocations: 28.98 kB / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.01121, allocations: 220 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.01122, allocations: 0.9062 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.01124, allocations: 4.359 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01125, allocations: 5.656 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.01137, allocations: 63.94 kB / 0.8178 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.0122, allocations: 0.607 MB / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.01242, allocations: 122.1 kB / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01253, allocations: 68 kB / 0.8186 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.01255, allocations: 7.75 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.01277, allocations: 187 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.01278, allocations: 1.125 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005976/0.01337, allocations: 384.9 kB / 0.8192 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.01342, allocations: 67.33 kB / 0.8192 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.01374, allocations: 422.7 kB / 0.8196 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.0138, allocations: 49.69 kB / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.01388, allocations: 152.1 kB / 0.8198 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.01392, allocations: 39.69 kB / 0.8199 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.01406, allocations: 139.1 kB / 0.82 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01419, allocations: 0.4962 MB / 0.8205 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01442, allocations: 183.3 kB / 0.8207 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.01466, allocations: 249.1 kB / 0.8209 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01492, allocations: 287 kB / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01493, allocations: 0 / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006269/0.01555, allocations: 0.5742 MB / 0.8217 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.01562, allocations: 91.36 kB / 0.8218 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01563, allocations: 8 kB / 0.8218 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01565, allocations: 0 / 0.8218 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.0158, allocations: 31.92 kB / 0.8219 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01581, allocations: 11.97 kB / 0.8219 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.016, allocations: 47.86 kB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.01606, allocations: 56.17 kB / 0.822 GB, free: 7.047 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001515/0.01621, allocations: 191.1 kB / 0.8221 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.01627, allocations: 55.66 kB / 0.8222 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.01632, allocations: 35.72 kB / 0.8222 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01632, allocations: 0 / 0.8222 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01633, allocations: 0 / 0.8222 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01633, allocations: 0 / 0.8222 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.01704, allocations: 0.7099 MB / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01705, allocations: 0 / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.01707, allocations: 4 kB / 0.8229 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01708, allocations: 0 / 0.8229 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.01711, allocations: 23.97 kB / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01711, allocations: 0 / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01711, allocations: 0 / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.01752, allocations: 471.8 kB / 0.8234 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.0177, allocations: 173.4 kB / 0.8236 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.01775, allocations: 20 kB / 0.8236 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.01791, allocations: 19.98 kB / 0.8236 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.01795, allocations: 7.984 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.01799, allocations: 63.97 kB / 0.8237 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000348/0.01834, allocations: 279.1 kB / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01834, allocations: 0 / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002352/0.01858, allocations: 67.98 kB / 0.824 GB, free: 4.879 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001688/0.01875, allocations: 139.8 kB / 0.8241 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.01926, allocations: 452.2 kB / 0.8246 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01926, allocations: 0 / 0.8246 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01938, allocations: 83.95 kB / 0.8246 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.0197, allocations: 57.61 kB / 0.8247 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.02032, allocations: 498.8 kB / 0.8252 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.02038, allocations: 91.8 kB / 0.8253 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.02041, allocations: 17.48 kB / 0.8253 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.02045, allocations: 16.5 kB / 0.8253 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.02045, allocations: 0 / 0.8253 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.008308/0.02876, allocations: 6.408 MB / 0.8316 GB, free: 13.01 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.253465492045507]