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.0008848/0.0008849, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 173 kB / 16.92 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 241 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.349/2.349, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003321, allocations: 15.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6395, allocations: 142.4 MB / 0.9557 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002019/0.6415, allocations: 2.1 MB / 0.9577 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.6427, allocations: 0.9318 MB / 0.9587 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.6429, allocations: 5.438 kB / 0.9587 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.6429, allocations: 25.7 kB / 0.9587 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.6432, allocations: 111.1 kB / 0.9588 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.6435, allocations: 149.6 kB / 0.9589 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.6438, allocations: 336.5 kB / 0.9593 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.644, allocations: 101.7 kB / 0.9593 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.6442, allocations: 106.7 kB / 0.9595 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.6444, allocations: 123.4 kB / 0.9596 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.6444, allocations: 14.88 kB / 0.9596 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.6445, allocations: 40.69 kB / 0.9596 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.6446, allocations: 38.77 kB / 0.9597 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.6447, allocations: 146.6 kB / 0.9598 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.6449, allocations: 211.8 kB / 0.96 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6449, allocations: 0.875 kB / 0.96 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6449, allocations: 0 / 0.96 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6449, allocations: 0 / 0.96 GB, free: 4.773 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.0006062/0.6455, allocations: 0.5255 MB / 0.9605 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.6455, allocations: 12.81 kB / 0.9605 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.6456, allocations: 35.84 kB / 0.9606 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.6458, allocations: 264.3 kB / 0.9608 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6459, allocations: 17.06 kB / 0.9608 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.6459, allocations: 16.75 kB / 0.9608 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.6462, allocations: 191.2 kB / 0.961 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6463, allocations: 0 / 0.961 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.6463, allocations: 9.375 kB / 0.961 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.6463, allocations: 5.5 kB / 0.961 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.6466, allocations: 145.3 kB / 0.9612 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.6474, allocations: 0.8098 MB / 0.962 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.6477, allocations: 136.5 kB / 0.9621 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.6479, allocations: 68.89 kB / 0.9622 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.6479, allocations: 1.062 kB / 0.9622 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.6479, allocations: 31.72 kB / 0.9622 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.6479, allocations: 1.062 kB / 0.9622 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005154/0.6485, allocations: 197.1 kB / 0.9624 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.6485, allocations: 53.28 kB / 0.9624 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.6487, allocations: 236.1 kB / 0.9627 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.6487, allocations: 34.86 kB / 0.9627 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.6488, allocations: 160.2 kB / 0.9628 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6488, allocations: 41.53 kB / 0.9629 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.6488, allocations: 20.11 kB / 0.9629 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.6489, allocations: 326.6 kB / 0.9632 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.649, allocations: 41.19 kB / 0.9633 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.6491, allocations: 49.5 kB / 0.9633 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.6494, allocations: 103 kB / 0.9634 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6494, allocations: 0 / 0.9634 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003013/0.6497, allocations: 154.7 kB / 0.9636 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.6497, allocations: 97.62 kB / 0.9636 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6497, allocations: 4.047 kB / 0.9636 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6498, allocations: 9.266 kB / 0.9637 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6499, allocations: 29.45 kB / 0.9637 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6499, allocations: 1.344 kB / 0.9637 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.65, allocations: 24.64 kB / 0.9637 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.65, allocations: 2.531 kB / 0.9637 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.6501, allocations: 4.5 kB / 0.9637 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002518/0.6503, allocations: 104.9 kB / 0.9638 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.6503, allocations: 0 / 0.9638 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-06/0.6503, allocations: 1 kB / 0.9638 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.6504, allocations: 29.08 kB / 0.9638 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.6505, allocations: 4.969 kB / 0.9639 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.6506, allocations: 25.17 kB / 0.9639 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6506, allocations: 2.156 kB / 0.9639 GB, free: 1.594 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 8.696e-05/0.6507, allocations: 203.1 kB / 0.9641 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.6507, allocations: 21.83 kB / 0.9641 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.6511, allocations: 164.3 kB / 0.9642 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6511, allocations: 5.25 kB / 0.9643 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6511, allocations: 0 / 0.9643 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6511, allocations: 1.375 kB / 0.9643 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.6513, allocations: 278.1 kB / 0.9645 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6513, allocations: 0 / 0.9645 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.6514, allocations: 30.02 kB / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6515, allocations: 4.953 kB / 0.9646 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.6515, allocations: 9.438 kB / 0.9646 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6515, allocations: 3.938 kB / 0.9646 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6515, allocations: 1.469 kB / 0.9646 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.6518, allocations: 247.7 kB / 0.9648 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.6519, allocations: 113.4 kB / 0.9649 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6519, allocations: 5.25 kB / 0.9649 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.652, allocations: 12.31 kB / 0.9649 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.6521, allocations: 7.203 kB / 0.9649 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.6521, allocations: 7.312 kB / 0.9649 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001223/0.6522, allocations: 178.2 kB / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6522, allocations: 0 / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003934/0.6526, allocations: 102.6 kB / 0.9652 GB, free: 0.5039 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 (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.0001301/0.6528, allocations: 112 kB / 0.9653 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.6532, allocations: 160.7 kB / 0.9655 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6532, allocations: 0.9375 kB / 0.9655 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6533, allocations: 59.56 kB / 0.9655 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.6538, allocations: 63.95 kB / 0.9656 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.6544, allocations: 0.5089 MB / 0.9661 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.6547, allocations: 0.7473 MB / 0.9668 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.6547, allocations: 18.38 kB / 0.9668 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.6547, allocations: 0 / 0.9668 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.004618/0.6594, allocations: 2.664 MB / 0.9694 GB, free: 13.78 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches