Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.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.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior") translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.47 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.001635/0.001635, 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.47/2.47, allocations: 390.2 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004898, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8652, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.001994/0.8672, allocations: 1.907 MB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.8685, allocations: 0.8911 MB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.8686, allocations: 3.812 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.8687, allocations: 27.05 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.869, allocations: 123.8 kB / 0.9564 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.8693, allocations: 141.5 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.8696, allocations: 262.7 kB / 0.9568 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.8698, allocations: 82.86 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.8699, allocations: 119.2 kB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.8701, allocations: 121.1 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.8702, allocations: 9.812 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.8703, allocations: 41.91 kB / 0.9571 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.8703, allocations: 30.67 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.8704, allocations: 71.33 kB / 0.9572 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.8706, allocations: 211.4 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.8706, allocations: 1.875 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.8706, allocations: 0 / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8706, allocations: 0 / 0.9574 GB, free: 5.082 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006429/0.8712, allocations: 0.5301 MB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8713, allocations: 8.594 kB / 0.958 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.8714, allocations: 36.36 kB / 0.958 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.8716, allocations: 253.3 kB / 0.9582 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.8716, allocations: 16.97 kB / 0.9582 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.8717, allocations: 16.78 kB / 0.9583 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.872, allocations: 187.1 kB / 0.9584 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.872, allocations: 3.938 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.872, allocations: 6.031 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.8721, allocations: 5.438 kB / 0.9585 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.8724, allocations: 147.4 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.8731, allocations: 0.8187 MB / 0.9594 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.8734, allocations: 131.8 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8735, allocations: 1.375 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.8735, allocations: 31.94 kB / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.8735, allocations: 0 / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004606/0.874, allocations: 198.1 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.874, allocations: 52.89 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.8742, allocations: 234.1 kB / 0.96 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.8742, allocations: 31.08 kB / 0.96 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.8743, allocations: 160.5 kB / 0.9602 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.8743, allocations: 44.95 kB / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.8743, allocations: 4 kB / 0.9602 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.8744, allocations: 331 kB / 0.9606 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.8745, allocations: 40.72 kB / 0.9606 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.8746, allocations: 43.56 kB / 0.9606 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.8747, allocations: 45.5 kB / 0.9607 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8747, allocations: 0 / 0.9607 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002967/0.875, allocations: 151.6 kB / 0.9608 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.8751, allocations: 97.22 kB / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8751, allocations: 0 / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8751, allocations: 1 kB / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8753, allocations: 30.11 kB / 0.961 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8753, allocations: 1.031 kB / 0.961 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.8754, allocations: 21.02 kB / 0.961 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.8754, allocations: 11.12 kB / 0.961 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.8754, allocations: 3.5 kB / 0.961 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002455/0.8757, allocations: 104.8 kB / 0.9611 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.8757, allocations: 1 kB / 0.9611 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.8757, allocations: 5.281 kB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.8758, allocations: 29.05 kB / 0.9611 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.8758, allocations: 1.031 kB / 0.9611 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.8759, allocations: 20.89 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.8759, allocations: 2.188 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 9.008e-05/0.876, allocations: 202.6 kB / 0.9613 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.8761, allocations: 27.03 kB / 0.9614 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.8764, allocations: 166.1 kB / 0.9615 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8764, allocations: 1.906 kB / 0.9615 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8764, allocations: 0 / 0.9615 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8764, allocations: 3.938 kB / 0.9615 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.8767, allocations: 267.1 kB / 0.9618 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8767, allocations: 0 / 0.9618 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.8768, allocations: 30.36 kB / 0.9618 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8768, allocations: 1.125 kB / 0.9618 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8768, allocations: 15.88 kB / 0.9618 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8768, allocations: 1.094 kB / 0.9618 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8768, allocations: 0 / 0.9618 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.8771, allocations: 256.5 kB / 0.9621 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.8772, allocations: 104.4 kB / 0.9622 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.8773, allocations: 9.391 kB / 0.9622 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.8774, allocations: 11.17 kB / 0.9622 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.8774, allocations: 12.23 kB / 0.9622 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.8775, allocations: 6.531 kB / 0.9622 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001268/0.8776, allocations: 173.1 kB / 0.9624 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8776, allocations: 0 / 0.9624 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004134/0.878, allocations: 102.4 kB / 0.9625 GB, free: 0.9023 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001579/0.8782, allocations: 113.4 kB / 0.9626 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.8786, allocations: 163 kB / 0.9627 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8786, allocations: 0 / 0.9627 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.8787, allocations: 52.06 kB / 0.9628 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.8791, allocations: 50.09 kB / 0.9628 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.8797, allocations: 478.5 kB / 0.9633 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.8801, allocations: 0.7524 MB / 0.964 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.8802, allocations: 29 kB / 0.9641 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.8802, allocations: 21.81 kB / 0.9641 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.8802, allocations: 0 / 0.9641 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.005842/0.8861, allocations: 2.381 MB / 0.9664 GB, free: 14.4 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches