Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003566, allocations: 12 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6586, allocations: 142.3 MB / 0.9535 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001865/0.6605, allocations: 1.36 MB / 0.9549 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.6614, allocations: 458 kB / 0.9553 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.6615, allocations: 0 / 0.9553 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.6616, allocations: 7.922 kB / 0.9553 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.6617, allocations: 24.22 kB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.6625, allocations: 220.1 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.6628, allocations: 187.5 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.663, allocations: 37.7 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.6633, allocations: 172 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.6637, allocations: 137.6 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6638, allocations: 10.06 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.6639, allocations: 10.41 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.664, allocations: 76.12 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.6641, allocations: 83.45 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.6644, allocations: 335.6 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6644, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6644, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6644, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 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.0008696/0.6653, allocations: 0.6846 MB / 0.9572 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6653, allocations: 8.188 kB / 0.9572 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.6654, allocations: 36.88 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.6658, allocations: 276.2 kB / 0.9575 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.6658, allocations: 20.02 kB / 0.9575 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.6659, allocations: 19.03 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.6669, allocations: 233.9 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6669, allocations: 0 / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.6669, allocations: 5.594 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6669, allocations: 3.344 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.6677, allocations: 119.4 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.6687, allocations: 0.5689 MB / 0.9585 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.6697, allocations: 195.8 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.6698, allocations: 6.703 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009007/0.6707, allocations: 232.7 kB / 0.9589 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.195e-06/0.6707, allocations: 5.312 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002515/0.6732, allocations: 491.8 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.6732, allocations: 60.38 kB / 0.9594 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.6735, allocations: 316.4 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.6736, allocations: 39.69 kB / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.6737, allocations: 99.61 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.6737, allocations: 45.66 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.6738, allocations: 7.969 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.6738, allocations: 322 kB / 0.9602 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.674, allocations: 96.59 kB / 0.9603 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.6742, allocations: 153.5 kB / 0.9604 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.6745, allocations: 157.2 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6745, allocations: 8.938 kB / 0.9606 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006312/0.6751, allocations: 411.4 kB / 0.961 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.6752, allocations: 79.38 kB / 0.9611 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6752, allocations: 2.688 kB / 0.9611 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6752, allocations: 2.469 kB / 0.9611 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.6754, allocations: 30.47 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.6754, allocations: 3.062 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.6759, allocations: 67.3 kB / 0.9612 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.676, allocations: 40.23 kB / 0.9612 GB, free: 2.457 MB / 0.7169 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.6762, allocations: 190.3 kB / 0.9614 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.6762, allocations: 28.03 kB / 0.9614 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.6763, allocations: 29.33 kB / 0.9614 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6763, allocations: 1.188 kB / 0.9614 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6763, allocations: 9.266 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6763, allocations: 0 / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.6784, allocations: 0.7507 MB / 0.9622 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6784, allocations: 0 / 0.9622 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.6784, allocations: 7.953 kB / 0.9622 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6784, allocations: 1 kB / 0.9622 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.6785, allocations: 21.16 kB / 0.9622 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6785, allocations: 4.938 kB / 0.9622 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6785, allocations: 0 / 0.9622 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.6802, allocations: 478.4 kB / 0.9627 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.6804, allocations: 183.7 kB / 0.9628 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.6805, allocations: 15.16 kB / 0.9629 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.6809, allocations: 47.66 kB / 0.9629 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.681, allocations: 9.047 kB / 0.9629 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.681, allocations: 41.3 kB / 0.963 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001962/0.6812, allocations: 223.9 kB / 0.9632 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6813, allocations: 0 / 0.9632 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003742/0.6816, allocations: 60.64 kB / 0.9632 GB, free: 1.059 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.6818, allocations: 134.2 kB / 0.9634 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.683, allocations: 413.8 kB / 0.9638 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.683, allocations: 1.062 kB / 0.9638 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.6838, allocations: 131 kB / 0.9639 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.6841, allocations: 35.94 kB / 0.9639 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.6854, allocations: 0.5299 MB / 0.9644 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6858, allocations: 0.7659 MB / 0.9652 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.417e-05/0.6859, allocations: 8.594 kB / 0.9652 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.6859, allocations: 18.67 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6859, allocations: 0 / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.008138/0.6941, allocations: 3.868 MB / 0.969 GB, free: 13.55 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches