Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 99.23 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.001633/0.001633, allocations: 177.3 kB / 15.94 MB, free: 228 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.326/2.326, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003328, allocations: 15.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6528, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001535/0.6543, allocations: 1.356 MB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.6551, allocations: 458.5 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.6552, allocations: 0 / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.6552, allocations: 5.281 kB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.6554, allocations: 23.64 kB / 0.9553 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.6559, allocations: 216.2 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.6562, allocations: 183.5 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.6563, allocations: 33.16 kB / 0.9557 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.6565, allocations: 180.5 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.6567, allocations: 133.7 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.6568, allocations: 14.12 kB / 0.9561 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.6568, allocations: 10.12 kB / 0.9561 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.6569, allocations: 83.44 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.657, allocations: 75.89 kB / 0.9562 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.6572, allocations: 331.7 kB / 0.9565 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.6573, allocations: 4 kB / 0.9565 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6573, allocations: 0 / 0.9565 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6573, allocations: 0 / 0.9565 GB, free: 5.867 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.0008107/0.6581, allocations: 0.6861 MB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6581, allocations: 9.906 kB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.6582, allocations: 35.59 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.6585, allocations: 269.7 kB / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.6586, allocations: 21.64 kB / 0.9575 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.6587, allocations: 24.31 kB / 0.9576 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.6596, allocations: 231.9 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6596, allocations: 0 / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6597, allocations: 5.406 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6597, allocations: 7.375 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.6605, allocations: 123.6 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6615, allocations: 0.5643 MB / 0.9585 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.6626, allocations: 195.9 kB / 0.9586 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.6626, allocations: 6.703 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008872/0.6635, allocations: 235 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.6635, allocations: 0 / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00249/0.666, allocations: 496.9 kB / 0.9593 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.666, allocations: 57.09 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.6663, allocations: 311.6 kB / 0.9597 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.6664, allocations: 48.38 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.6665, allocations: 100.1 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.6665, allocations: 41.44 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.6665, allocations: 8.125 kB / 0.9599 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.6666, allocations: 324.8 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.6668, allocations: 96.72 kB / 0.9603 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.667, allocations: 149 kB / 0.9604 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.6672, allocations: 156.9 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6672, allocations: 4.922 kB / 0.9606 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006487/0.6679, allocations: 419.8 kB / 0.961 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.668, allocations: 79.69 kB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.668, allocations: 1.812 kB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.668, allocations: 3.156 kB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6682, allocations: 26.5 kB / 0.9611 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.6682, allocations: 10.89 kB / 0.9611 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.6687, allocations: 71.77 kB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.6688, allocations: 43.33 kB / 0.9612 GB, free: 2.305 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.0001731/0.6689, allocations: 187.3 kB / 0.9614 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.669, allocations: 23.53 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.669, allocations: 33.33 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6691, allocations: 1.156 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6691, allocations: 9.359 kB / 0.9615 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6691, allocations: 0 / 0.9615 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.6712, allocations: 0.7485 MB / 0.9622 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6712, allocations: 0 / 0.9622 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.6712, allocations: 8.625 kB / 0.9622 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6712, allocations: 5.141 kB / 0.9622 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6713, allocations: 15.62 kB / 0.9622 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.6713, allocations: 1.031 kB / 0.9622 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6713, allocations: 4.969 kB / 0.9622 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.673, allocations: 479 kB / 0.9627 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.6732, allocations: 184.1 kB / 0.9629 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.6733, allocations: 15.97 kB / 0.9629 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.6738, allocations: 47.38 kB / 0.9629 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.6738, allocations: 5.5 kB / 0.9629 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.6739, allocations: 41.56 kB / 0.963 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001995/0.6741, allocations: 227.6 kB / 0.9632 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6741, allocations: 0 / 0.9632 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003735/0.6745, allocations: 56.52 kB / 0.9632 GB, free: 0.9141 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.0001473/0.6746, allocations: 133.8 kB / 0.9634 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.6758, allocations: 405.3 kB / 0.9637 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6758, allocations: 4.062 kB / 0.9637 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.6765, allocations: 133.2 kB / 0.9639 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6768, allocations: 24.77 kB / 0.9639 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.6782, allocations: 0.541 MB / 0.9644 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6785, allocations: 0.7586 MB / 0.9652 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.401e-05/0.6786, allocations: 12.98 kB / 0.9652 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.6786, allocations: 22.92 kB / 0.9652 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6786, allocations: 0 / 0.9652 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.007859/0.6865, allocations: 3.875 MB / 0.969 GB, free: 13.4 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches