Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001406/0.001406, allocations: 81.95 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.001553/0.001553, allocations: 185.3 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.98e-05, allocations: 9.641 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.005518/0.005548, allocations: 1.558 MB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.006901, allocations: 0.5376 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.006974, allocations: 0.6562 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.01009, allocations: 7.875 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.01022, allocations: 32.38 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.01107, allocations: 322.2 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.01152, allocations: 488.5 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.01156, allocations: 4 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.01198, allocations: 351.6 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.01224, allocations: 132 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.895e-05/0.01231, allocations: 28 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.01237, allocations: 29.94 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.01248, allocations: 127.6 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.0126, allocations: 127.7 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.01297, allocations: 378.8 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01297, allocations: 3.938 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01297, allocations: 1.688 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.01298, allocations: 0 / 0.816 GB, free: 13.41 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.0009296/0.01391, allocations: 0.9075 MB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.01395, allocations: 8.031 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.01405, allocations: 61.19 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.01429, allocations: 262.8 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.01433, allocations: 20.95 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.01437, allocations: 32.83 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.0147, allocations: 205.5 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.01471, allocations: 1.656 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.01473, allocations: 4.375 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01473, allocations: 4.359 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.01481, allocations: 56.38 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.01505, allocations: 246.1 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01521, allocations: 120 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.01529, allocations: 59.25 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.01531, allocations: 4 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.01549, allocations: 179.3 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.01549, allocations: 0 / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004611/0.01595, allocations: 357.2 kB / 0.8184 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.01599, allocations: 67.34 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.01621, allocations: 410.5 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.01624, allocations: 45.62 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.0163, allocations: 152.1 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.01634, allocations: 39.7 kB / 0.8191 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01645, allocations: 135 kB / 0.8192 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.01656, allocations: 0.4961 MB / 0.8197 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.01672, allocations: 159.3 kB / 0.8198 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.01688, allocations: 233.1 kB / 0.8201 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01707, allocations: 257 kB / 0.8203 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01707, allocations: 0 / 0.8203 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006064/0.01768, allocations: 0.5213 MB / 0.8208 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.01773, allocations: 87.36 kB / 0.8209 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01774, allocations: 0 / 0.8209 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01776, allocations: 4 kB / 0.8209 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.01788, allocations: 36.11 kB / 0.8209 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01788, allocations: 11.98 kB / 0.8209 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.01805, allocations: 51.8 kB / 0.821 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.0181, allocations: 63.91 kB / 0.8211 GB, free: 7.852 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.0001185/0.01822, allocations: 182.5 kB / 0.8212 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.01827, allocations: 43.77 kB / 0.8213 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.01831, allocations: 39.67 kB / 0.8213 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01831, allocations: 4 kB / 0.8213 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01831, allocations: 4 kB / 0.8213 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01832, allocations: 0 / 0.8213 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.01894, allocations: 0.6087 MB / 0.8219 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.01895, allocations: 0 / 0.8219 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.01898, allocations: 4 kB / 0.8219 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01898, allocations: 0 / 0.8219 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.019, allocations: 27.97 kB / 0.8219 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.019, allocations: 0 / 0.8219 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.01901, allocations: 11.88 kB / 0.822 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.01939, allocations: 456 kB / 0.8224 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.01954, allocations: 121.5 kB / 0.8225 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.01958, allocations: 11.98 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.01976, allocations: 27.98 kB / 0.8225 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.01979, allocations: 11.92 kB / 0.8226 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.01983, allocations: 63.97 kB / 0.8226 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001213/0.01995, allocations: 263 kB / 0.8229 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01995, allocations: 0 / 0.8229 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002175/0.02017, allocations: 67.98 kB / 0.8229 GB, free: 5.867 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.0001143/0.02028, allocations: 111.2 kB / 0.823 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.0207, allocations: 424.6 kB / 0.8234 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0207, allocations: 0 / 0.8234 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.02079, allocations: 83.89 kB / 0.8235 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.02104, allocations: 49.56 kB / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.02172, allocations: 478.9 kB / 0.824 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.02177, allocations: 87.81 kB / 0.8241 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.02181, allocations: 17.14 kB / 0.8241 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.02199, allocations: 146.2 kB / 0.8243 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.02199, allocations: 0 / 0.8243 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of Templates: time 0.006916/0.02891, allocations: 5.336 MB / 0.8295 GB, free: 15.02 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.249669446144253]