Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001076/0.001076, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.006871/0.006871, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 483.2 MB / 0.7564 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 8.125 kB / 0.9276 GB, free: 29.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.429, allocations: 164.5 MB / 1.088 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003224/0.4323, allocations: 2.1 MB / 1.09 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.4341, allocations: 0.9211 MB / 1.091 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4342, allocations: 8 kB / 1.091 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.4343, allocations: 23.78 kB / 1.091 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.4347, allocations: 119.2 kB / 1.091 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.435, allocations: 155.8 kB / 1.091 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.4355, allocations: 330.3 kB / 1.092 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.4358, allocations: 99.7 kB / 1.092 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.436, allocations: 107.5 kB / 1.092 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.4363, allocations: 127.4 kB / 1.092 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.4363, allocations: 12 kB / 1.092 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4364, allocations: 35.97 kB / 1.092 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.4365, allocations: 35.8 kB / 1.092 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.4366, allocations: 157 kB / 1.092 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.437, allocations: 274.9 kB / 1.093 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.437, allocations: 0 / 1.093 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4371, allocations: 0 / 1.093 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4371, allocations: 0 / 1.093 GB, free: 5.859 MB / 0.8419 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.001007/0.4381, allocations: 0.53 MB / 1.093 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4381, allocations: 15.97 kB / 1.093 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.4382, allocations: 32.56 kB / 1.093 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4386, allocations: 262.7 kB / 1.093 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4386, allocations: 16.81 kB / 1.093 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.4386, allocations: 28.3 kB / 1.093 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.4391, allocations: 187.6 kB / 1.094 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4391, allocations: 0 / 1.094 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4391, allocations: 8 kB / 1.094 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4391, allocations: 8 kB / 1.094 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.4395, allocations: 133.7 kB / 1.094 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4406, allocations: 0.8158 MB / 1.095 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.441, allocations: 130.5 kB / 1.095 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4412, allocations: 68.83 kB / 1.095 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4412, allocations: 0 / 1.095 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4413, allocations: 30.67 kB / 1.095 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.4413, allocations: 3.938 kB / 1.095 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005604/0.4418, allocations: 208.5 kB / 1.095 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4419, allocations: 51.41 kB / 1.095 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4421, allocations: 238.6 kB / 1.095 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4422, allocations: 29.7 kB / 1.095 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4423, allocations: 156.3 kB / 1.095 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.4423, allocations: 39.36 kB / 1.095 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.4424, allocations: 21.7 kB / 1.096 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4426, allocations: 326.8 kB / 1.096 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4427, allocations: 43.97 kB / 1.096 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4428, allocations: 47.97 kB / 1.096 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.4431, allocations: 100.8 kB / 1.096 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4431, allocations: 3.938 kB / 1.096 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003269/0.4434, allocations: 149.4 kB / 1.096 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.4435, allocations: 105.2 kB / 1.096 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4435, allocations: 0 / 1.096 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4436, allocations: 0 / 1.096 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4437, allocations: 35.98 kB / 1.096 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.4437, allocations: 4 kB / 1.096 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4438, allocations: 15.92 kB / 1.096 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4439, allocations: 4 kB / 1.096 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.4439, allocations: 4 kB / 1.096 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002696/0.4441, allocations: 107.9 kB / 1.096 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.4442, allocations: 0 / 1.096 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-06/0.4442, allocations: 0 / 1.096 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4443, allocations: 23.98 kB / 1.096 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.4443, allocations: 7.938 kB / 1.096 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4444, allocations: 27.77 kB / 1.096 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4444, allocations: 8 kB / 1.096 GB, free: 1.609 MB / 0.8419 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.000161/0.4446, allocations: 205.1 kB / 1.097 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.4446, allocations: 23.72 kB / 1.097 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.445, allocations: 159.5 kB / 1.097 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4451, allocations: 7.938 kB / 1.097 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4451, allocations: 0 / 1.097 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4451, allocations: 0 / 1.097 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.4454, allocations: 269.5 kB / 1.097 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4455, allocations: 11.92 kB / 1.097 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4456, allocations: 27.92 kB / 1.097 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4456, allocations: 0 / 1.097 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4456, allocations: 4 kB / 1.097 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4456, allocations: 7.938 kB / 1.097 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4456, allocations: 7.984 kB / 1.097 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.446, allocations: 243.2 kB / 1.097 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4461, allocations: 108.8 kB / 1.098 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4462, allocations: 8 kB / 1.098 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4463, allocations: 15.92 kB / 1.098 GB, free: 444 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.4463, allocations: 11.98 kB / 1.098 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4464, allocations: 0 / 1.098 GB, free: 432 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001875/0.4466, allocations: 174 kB / 1.098 GB, free: 256 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4466, allocations: 0 / 1.098 GB, free: 256 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004194/0.447, allocations: 99.67 kB / 1.098 GB, free: 156 kB / 0.8419 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.0001791/0.4472, allocations: 111.2 kB / 1.098 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.4476, allocations: 162.8 kB / 1.098 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4477, allocations: 4 kB / 1.098 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4478, allocations: 55.91 kB / 1.098 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.4483, allocations: 60.23 kB / 1.098 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007787/0.4491, allocations: 499.9 kB / 1.099 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4495, allocations: 0.7482 MB / 1.099 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.4496, allocations: 21.48 kB / 1.099 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.4497, allocations: 27.38 kB / 1.099 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.4497, allocations: 0 / 1.099 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of Templates: time 0.006288/0.456, allocations: 2.456 MB / 1.102 GB, free: 12 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches