Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 98.69 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.0009556/0.0009557, 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.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004356, allocations: 15.98 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9344, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001927/0.9364, allocations: 1.167 MB / 0.9546 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.9374, allocations: 400.8 kB / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.9375, allocations: 0 / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.9376, allocations: 3.938 kB / 0.955 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.9377, allocations: 28.7 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.9385, allocations: 205 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.9387, allocations: 157.9 kB / 0.9554 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.9388, allocations: 12.64 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.9391, allocations: 166 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.9394, allocations: 127.8 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.9395, allocations: 13.66 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-05/0.9395, allocations: 14.09 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.9397, allocations: 78.88 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.9398, allocations: 62.36 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.94, allocations: 218.2 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.94, allocations: 0 / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9401, allocations: 0 / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9401, allocations: 5.5 kB / 0.9561 GB, free: 6.238 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009549/0.941, allocations: 0.6632 MB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.9411, allocations: 9.031 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.9412, allocations: 34 kB / 0.9568 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.9416, allocations: 250.8 kB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.9416, allocations: 16.67 kB / 0.957 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.9417, allocations: 17.75 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.9426, allocations: 211.3 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9427, allocations: 0 / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.9427, allocations: 9.703 kB / 0.9572 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.9427, allocations: 5.703 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.9434, allocations: 109.2 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.9439, allocations: 317.2 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.9449, allocations: 181.6 kB / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.945, allocations: 1.469 kB / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009457/0.9459, allocations: 229.6 kB / 0.958 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.946, allocations: 4 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002563/0.9485, allocations: 472.5 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.9486, allocations: 67.47 kB / 0.9586 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.9489, allocations: 289.8 kB / 0.9588 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.949, allocations: 40.58 kB / 0.9589 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.9491, allocations: 85.14 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.9491, allocations: 42.19 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.9492, allocations: 7.812 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.9492, allocations: 325.3 kB / 0.9593 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.9494, allocations: 89.16 kB / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.9497, allocations: 136.7 kB / 0.9595 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.9499, allocations: 150.3 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9499, allocations: 0.75 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006791/0.9506, allocations: 391.9 kB / 0.9601 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.9507, allocations: 75.05 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.9507, allocations: 2.031 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.9507, allocations: 3 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.9509, allocations: 25.91 kB / 0.9602 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9509, allocations: 3.344 kB / 0.9602 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.9514, allocations: 68.27 kB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.9515, allocations: 38.36 kB / 0.9603 GB, free: 3.035 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002009/0.9517, allocations: 173.5 kB / 0.9604 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.9518, allocations: 27.03 kB / 0.9605 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.9518, allocations: 36.61 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9518, allocations: 2.094 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9519, allocations: 1.219 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9519, allocations: 4 kB / 0.9605 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.954, allocations: 0.7113 MB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.954, allocations: 3.938 kB / 0.9612 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.9541, allocations: 8.5 kB / 0.9612 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9541, allocations: 1.25 kB / 0.9612 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.9541, allocations: 15.69 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9541, allocations: 5 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9541, allocations: 1.062 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.9558, allocations: 471.3 kB / 0.9617 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.956, allocations: 157.6 kB / 0.9618 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.9561, allocations: 13.97 kB / 0.9618 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.9565, allocations: 40.11 kB / 0.9619 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.9566, allocations: 7.828 kB / 0.9619 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.9567, allocations: 41.98 kB / 0.9619 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000206/0.9569, allocations: 208.4 kB / 0.9621 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9569, allocations: 0 / 0.9621 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003786/0.9573, allocations: 52.25 kB / 0.9622 GB, free: 1.723 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.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 (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.0001362/0.9574, allocations: 115 kB / 0.9623 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.9585, allocations: 393.2 kB / 0.9627 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9585, allocations: 0 / 0.9627 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.9593, allocations: 128.7 kB / 0.9628 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.9596, allocations: 26.92 kB / 0.9628 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.961, allocations: 499.7 kB / 0.9633 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.9612, allocations: 0.7477 MB / 0.964 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.9613, allocations: 12.52 kB / 0.964 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.9614, allocations: 13.66 kB / 0.964 GB, free: 240 kB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.9614, allocations: 1.031 kB / 0.964 GB, free: 240 kB / 0.7169 GB Notification: Performance of Templates: time 0.008863/0.9702, allocations: 3.503 MB / 0.9675 GB, free: 14.44 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches