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.001382/0.001382, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001451/0.001451, allocations: 169 kB / 24.28 MB, free: 276 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.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.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 2.364e-06/2.364e-06, allocations: 4 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.555e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002482/0.002508, allocations: 1.791 MB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003788, allocations: 0.6141 MB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.003858, allocations: 0.6875 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.00396, allocations: 11.86 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.004094, allocations: 40.62 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.004889, allocations: 363.9 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.005454, allocations: 0.5978 MB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005562, allocations: 21.3 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.00607, allocations: 424.8 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.006336, allocations: 129.3 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.006416, allocations: 47.92 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.006489, allocations: 44 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.006626, allocations: 123.7 kB / 0.8157 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.006797, allocations: 151.7 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.007268, allocations: 432.1 kB / 0.8162 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.007272, allocations: 3.984 kB / 0.8162 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007273, allocations: 0 / 0.8162 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.007278, allocations: 1.531 kB / 0.8162 GB, free: 13.24 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.001232/0.008511, allocations: 0.9416 MB / 0.8171 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.008551, allocations: 12.03 kB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.008701, allocations: 69.39 kB / 0.8172 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.00907, allocations: 282.7 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.009118, allocations: 17.34 kB / 0.8175 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.009192, allocations: 32.36 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.009683, allocations: 218.4 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.009693, allocations: 192 / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.00972, allocations: 4.375 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.00973, allocations: 5.031 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.009897, allocations: 68.33 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01095, allocations: 0.6086 MB / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.01123, allocations: 122.1 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.01138, allocations: 76.58 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.0114, allocations: 7.719 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.01169, allocations: 183 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.01169, allocations: 1.125 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000741/0.01243, allocations: 381.1 kB / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.01247, allocations: 63.41 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.01288, allocations: 427.4 kB / 0.8196 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.01294, allocations: 45.62 kB / 0.8197 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.01302, allocations: 160.1 kB / 0.8198 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.01306, allocations: 35.69 kB / 0.8198 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.01325, allocations: 147.1 kB / 0.82 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.01339, allocations: 0.4884 MB / 0.8205 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.01369, allocations: 183.3 kB / 0.8206 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.01402, allocations: 253.1 kB / 0.8209 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.01437, allocations: 288.9 kB / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01437, allocations: 0 / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006463/0.01502, allocations: 0.572 MB / 0.8217 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.01507, allocations: 87.38 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.01507, allocations: 0 / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.01508, allocations: 4 kB / 0.8218 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01519, allocations: 44.09 kB / 0.8218 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.0152, allocations: 4 kB / 0.8218 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.01537, allocations: 47.86 kB / 0.8219 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.01542, allocations: 59.97 kB / 0.822 GB, free: 7.051 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.0001116/0.01553, allocations: 187.1 kB / 0.8221 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.01558, allocations: 55.64 kB / 0.8222 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.01562, allocations: 35.73 kB / 0.8222 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01562, allocations: 0 / 0.8222 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.01563, allocations: 4 kB / 0.8222 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01563, allocations: 0 / 0.8222 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.01625, allocations: 0.7082 MB / 0.8229 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01625, allocations: 0 / 0.8229 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.01627, allocations: 4 kB / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01627, allocations: 0 / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.01629, allocations: 19.97 kB / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01629, allocations: 0 / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01629, allocations: 0 / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.01666, allocations: 478.2 kB / 0.8234 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.01682, allocations: 177.4 kB / 0.8236 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.01687, allocations: 19.98 kB / 0.8236 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.01701, allocations: 19.98 kB / 0.8236 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.01703, allocations: 7.984 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.01707, allocations: 59.97 kB / 0.8237 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001565/0.01723, allocations: 279.1 kB / 0.8239 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01723, allocations: 4 kB / 0.8239 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002131/0.01744, allocations: 64 kB / 0.824 GB, free: 4.883 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.0001017/0.01754, allocations: 123.9 kB / 0.8241 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.01799, allocations: 453.5 kB / 0.8245 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01799, allocations: 0 / 0.8245 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.0181, allocations: 87.97 kB / 0.8246 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01835, allocations: 73.47 kB / 0.8247 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.01887, allocations: 0.4889 MB / 0.8252 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.01893, allocations: 87.81 kB / 0.8253 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.59e-05/0.01897, allocations: 13.48 kB / 0.8253 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01901, allocations: 16.5 kB / 0.8253 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.01901, allocations: 4 kB / 0.8253 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.007122/0.02613, allocations: 6.402 MB / 0.8315 GB, free: 13.01 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.3904118679929525]