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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001385/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001689/0.001689, allocations: 196.9 kB / 16.14 MB, free: 6.719 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 65.28 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4059, allocations: 157.4 MB / 1.052 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003461/0.4094, allocations: 2.471 MB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.411, allocations: 0.9445 MB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4112, allocations: 7.938 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.929e-05/0.4113, allocations: 27.78 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.4117, allocations: 114 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.412, allocations: 147.8 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.4123, allocations: 338.3 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.4125, allocations: 103.7 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4127, allocations: 115.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.4129, allocations: 131.4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.4129, allocations: 12 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4131, allocations: 43.97 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.4131, allocations: 47.72 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.4132, allocations: 127.3 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.4135, allocations: 279 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4135, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.12e-07/0.4135, allocations: 7.938 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4135, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 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.0007859/0.4143, allocations: 0.5689 MB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4144, allocations: 12.03 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.4144, allocations: 28.56 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4148, allocations: 270.7 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4148, allocations: 12.81 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4148, allocations: 24.38 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.4153, allocations: 179.6 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4153, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.4154, allocations: 8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4154, allocations: 7.938 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.4157, allocations: 133.7 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4168, allocations: 0.808 MB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.4172, allocations: 126.5 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.4173, allocations: 60.77 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4174, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4174, allocations: 34.56 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.4174, allocations: 4 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005355/0.4179, allocations: 181.3 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.418, allocations: 55.41 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.4183, allocations: 234.6 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4183, allocations: 25.7 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4184, allocations: 156.2 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.4185, allocations: 47.42 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.4185, allocations: 33.72 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4187, allocations: 330.8 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4189, allocations: 48.77 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.419, allocations: 34.98 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.4193, allocations: 96.81 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4193, allocations: 0 / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003338/0.4196, allocations: 137.5 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4196, allocations: 7.938 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4196, allocations: 4 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4197, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4198, allocations: 31.92 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4198, allocations: 0 / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.42, allocations: 23.83 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.42, allocations: 4 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002335/0.4202, allocations: 133.6 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001023/0.4203, allocations: 35.97 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002198/0.4206, allocations: 88.31 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.4206, allocations: 7.875 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003067/0.4209, allocations: 145.3 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4209, allocations: 4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.4209, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.4209, allocations: 3.938 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4211, allocations: 23.98 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.4211, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.4212, allocations: 19.92 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4212, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 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.0001548/0.4213, allocations: 188.3 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.4214, allocations: 27.66 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.4218, allocations: 155.4 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4218, allocations: 4 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4218, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4218, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4222, allocations: 265.5 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4222, allocations: 4 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4223, allocations: 23.98 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4224, allocations: 3.938 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.4224, allocations: 8 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4224, allocations: 3.938 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4224, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.4228, allocations: 233.3 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4229, allocations: 112.7 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4229, allocations: 7.938 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4231, allocations: 11.98 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.4231, allocations: 7.984 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4231, allocations: 7.984 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4233, allocations: 170 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4233, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004125/0.4238, allocations: 103.7 kB / 1.062 GB, free: 14.17 MB / 0.8262 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.0002477/0.424, allocations: 115.2 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.4245, allocations: 147.8 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4245, allocations: 3.938 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4246, allocations: 47.97 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.4253, allocations: 64.39 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.426, allocations: 479.1 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4263, allocations: 0.7443 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.115e-05/0.4264, allocations: 21.53 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.4264, allocations: 19.44 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4264, allocations: 0 / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.005562/0.432, allocations: 2.471 MB / 1.066 GB, free: 10.05 MB / 0.8262 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=480 -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