Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.00108/0.00108, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001326/0.001326, allocations: 163.6 kB / 24.86 MB, free: 9.289 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.959/1.959, allocations: 377.9 MB / 0.6247 GB, free: 8.445 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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.558e-05, allocations: 3.375 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.005383/0.005398, allocations: 1.775 MB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.006667, allocations: 0.6183 MB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.006731, allocations: 0 / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.598e-05/0.006827, allocations: 11.86 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.006949, allocations: 39.72 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.01063, allocations: 364.6 kB / 0.8156 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.01116, allocations: 0.6024 MB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.01125, allocations: 21.28 kB / 0.8162 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.01171, allocations: 419.6 kB / 0.8166 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.01195, allocations: 140.4 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.01201, allocations: 40.53 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.447e-05/0.01208, allocations: 40 kB / 0.8168 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.01219, allocations: 133.3 kB / 0.8169 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.01232, allocations: 143.7 kB / 0.817 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.01271, allocations: 442.7 kB / 0.8175 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01271, allocations: 0 / 0.8175 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.01e-07/0.01272, allocations: 0.6562 kB / 0.8175 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.01272, allocations: 0 / 0.8175 GB, free: 12.68 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.004/0.01672, allocations: 0.9427 MB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.01675, allocations: 8.031 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.01687, allocations: 77.73 kB / 0.8185 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.01718, allocations: 282.8 kB / 0.8187 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.01722, allocations: 20.36 kB / 0.8188 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.01729, allocations: 29.75 kB / 0.8188 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.01768, allocations: 205.4 kB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01769, allocations: 4.172 kB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01772, allocations: 6.406 kB / 0.819 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01772, allocations: 384 / 0.819 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01785, allocations: 62.92 kB / 0.8191 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.01868, allocations: 0.5544 MB / 0.8196 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01889, allocations: 114 kB / 0.8197 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01901, allocations: 60.88 kB / 0.8198 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.01902, allocations: 5.094 kB / 0.8198 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.01926, allocations: 177.7 kB / 0.8199 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.01926, allocations: 0.6562 kB / 0.8199 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.003638/0.0229, allocations: 365.6 kB / 0.8203 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.02293, allocations: 59.34 kB / 0.8203 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.02326, allocations: 434.5 kB / 0.8208 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.02331, allocations: 41.69 kB / 0.8208 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.0234, allocations: 152.1 kB / 0.8209 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.02344, allocations: 47.61 kB / 0.821 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.02361, allocations: 139.1 kB / 0.8211 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.02373, allocations: 0.4962 MB / 0.8216 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.02395, allocations: 171.3 kB / 0.8218 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.02419, allocations: 233.1 kB / 0.822 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.0247, allocations: 270.5 kB / 0.8222 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.0247, allocations: 0 / 0.8222 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.008766/0.03347, allocations: 0.5469 MB / 0.8228 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.03354, allocations: 87.38 kB / 0.8229 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.03354, allocations: 0 / 0.8229 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.03355, allocations: 12.17 kB / 0.8229 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.03369, allocations: 31.92 kB / 0.8229 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.03369, allocations: 4 kB / 0.8229 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.03393, allocations: 47.86 kB / 0.823 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.034, allocations: 59.97 kB / 0.823 GB, free: 6.676 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.0001485/0.03415, allocations: 187.1 kB / 0.8232 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.03422, allocations: 55.64 kB / 0.8232 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.03427, allocations: 31.73 kB / 0.8233 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.03427, allocations: 4 kB / 0.8233 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.03428, allocations: 4 kB / 0.8233 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.03428, allocations: 3.984 kB / 0.8233 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007678/0.03505, allocations: 0.6346 MB / 0.8239 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03505, allocations: 4 kB / 0.8239 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.03508, allocations: 4 kB / 0.8239 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.03508, allocations: 0 / 0.8239 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.03511, allocations: 23.97 kB / 0.8239 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.03511, allocations: 4 kB / 0.8239 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.03511, allocations: 0 / 0.8239 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.0356, allocations: 459.8 kB / 0.8244 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.03583, allocations: 173.5 kB / 0.8245 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.0359, allocations: 16 kB / 0.8246 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.0361, allocations: 19.98 kB / 0.8246 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.03612, allocations: 7.984 kB / 0.8246 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.03618, allocations: 63.97 kB / 0.8246 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006194/0.04238, allocations: 271 kB / 0.8249 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04238, allocations: 0 / 0.8249 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003237/0.0427, allocations: 67.98 kB / 0.825 GB, free: 4.602 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.0001233/0.04282, allocations: 127.8 kB / 0.8251 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.04333, allocations: 419.5 kB / 0.8255 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04333, allocations: 8.125 kB / 0.8255 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.04347, allocations: 79.56 kB / 0.8256 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.04383, allocations: 82.97 kB / 0.8257 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.04445, allocations: 494.8 kB / 0.8261 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.04451, allocations: 87.81 kB / 0.8262 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.04456, allocations: 21.47 kB / 0.8262 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.04478, allocations: 146.2 kB / 0.8264 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.04478, allocations: 0 / 0.8264 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.02651/0.07129, allocations: 6.058 MB / 0.8323 GB, free: 12.99 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.38628466008231]