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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001056/0.001056, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.008658/0.008658, allocations: 170.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.721, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002195/0.7232, allocations: 2.108 MB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.7246, allocations: 0.9208 MB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.7247, allocations: 5.625 kB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.7248, allocations: 27.3 kB / 0.958 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.7251, allocations: 113.3 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.7254, allocations: 154.4 kB / 0.9583 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.7258, allocations: 332 kB / 0.9586 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.726, allocations: 100.8 kB / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.7262, allocations: 108.3 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.7264, allocations: 122.3 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.7264, allocations: 15.33 kB / 0.9589 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.7265, allocations: 41.36 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.7266, allocations: 37.47 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.7267, allocations: 151.5 kB / 0.9591 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.727, allocations: 274 kB / 0.9594 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.727, allocations: 0 / 0.9594 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.996e-06/0.727, allocations: 1.375 kB / 0.9594 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.727, allocations: 3.938 kB / 0.9594 GB, free: 4.363 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.0006476/0.7276, allocations: 0.5323 MB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7277, allocations: 8.25 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.7278, allocations: 33.06 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.728, allocations: 259.6 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.7281, allocations: 13.06 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.7281, allocations: 20.75 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.7286, allocations: 199.1 kB / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.7286, allocations: 0 / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7286, allocations: 5.375 kB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.7286, allocations: 5.5 kB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.729, allocations: 137.4 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.7301, allocations: 0.8253 MB / 0.9614 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.7305, allocations: 125.1 kB / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.7307, allocations: 67.59 kB / 0.9616 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.7307, allocations: 2.031 kB / 0.9616 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.7308, allocations: 40.77 kB / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.7308, allocations: 0 / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0006144/0.7314, allocations: 193.9 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7314, allocations: 57.38 kB / 0.9618 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.7318, allocations: 240.3 kB / 0.9621 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.7318, allocations: 25.7 kB / 0.9621 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7319, allocations: 160.7 kB / 0.9623 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.732, allocations: 44.86 kB / 0.9623 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.732, allocations: 13.12 kB / 0.9623 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.7321, allocations: 331.4 kB / 0.9626 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.7322, allocations: 44.94 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.7324, allocations: 45.2 kB / 0.9627 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.7326, allocations: 96.33 kB / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7326, allocations: 0 / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003845/0.733, allocations: 163.5 kB / 0.963 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.7331, allocations: 100.1 kB / 0.9631 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7331, allocations: 0 / 0.9631 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7331, allocations: 1 kB / 0.9631 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7333, allocations: 34.06 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7333, allocations: 0.9688 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.7334, allocations: 17.22 kB / 0.9631 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.7335, allocations: 10.61 kB / 0.9631 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7335, allocations: 4.219 kB / 0.9631 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002917/0.7338, allocations: 101.9 kB / 0.9632 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.7338, allocations: 0 / 0.9632 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-06/0.7338, allocations: 1.156 kB / 0.9632 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.7339, allocations: 29.7 kB / 0.9632 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.7339, allocations: 5.156 kB / 0.9633 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.734, allocations: 16.58 kB / 0.9633 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.7341, allocations: 6.594 kB / 0.9633 GB, free: 1.188 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.7342, allocations: 206.7 kB / 0.9635 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.7342, allocations: 22.31 kB / 0.9635 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.7346, allocations: 171.1 kB / 0.9637 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7346, allocations: 6.219 kB / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7346, allocations: 0 / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7346, allocations: 0 / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.7349, allocations: 271.1 kB / 0.9639 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7349, allocations: 0 / 0.9639 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.735, allocations: 37.89 kB / 0.964 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.735, allocations: 1.344 kB / 0.964 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7351, allocations: 1.094 kB / 0.964 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7351, allocations: 3.938 kB / 0.964 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7351, allocations: 5.062 kB / 0.964 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.7354, allocations: 242.6 kB / 0.9642 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.7355, allocations: 113.9 kB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.7356, allocations: 5.438 kB / 0.9643 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.7357, allocations: 18.61 kB / 0.9643 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.7358, allocations: 8.516 kB / 0.9643 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.7358, allocations: 6.188 kB / 0.9643 GB, free: 248 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001585/0.7359, allocations: 175.3 kB / 0.9645 GB, free: 124 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7359, allocations: 0 / 0.9645 GB, free: 124 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004247/0.7364, allocations: 101.6 kB / 0.9646 GB, free: 96 kB / 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 (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.0001849/0.7366, allocations: 112.6 kB / 0.9647 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.737, allocations: 162.8 kB / 0.9649 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.737, allocations: 4 kB / 0.9649 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.7372, allocations: 61.03 kB / 0.9649 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.7377, allocations: 49.14 kB / 0.965 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.7385, allocations: 497.4 kB / 0.9655 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.7389, allocations: 0.7513 MB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.739, allocations: 20.34 kB / 0.9662 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.739, allocations: 22.28 kB / 0.9662 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.739, allocations: 0 / 0.9662 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.007397/0.7464, allocations: 2.442 MB / 0.9686 GB, free: 13.56 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches