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.007781/0.007781, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001626/0.001627, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3583, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003223/0.3615, allocations: 2.417 MB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.363, allocations: 0.9464 MB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3632, allocations: 4 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.198e-05/0.3633, allocations: 39.58 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.3637, allocations: 135 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.364, allocations: 171.7 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.3644, allocations: 346.3 kB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3646, allocations: 116.5 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.3648, allocations: 135.5 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.365, allocations: 135.4 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3651, allocations: 20 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3652, allocations: 47.97 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.3652, allocations: 51.77 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3654, allocations: 139.3 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3657, allocations: 295 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3657, allocations: 0 / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3657, allocations: 0 / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3657, allocations: 0 / 1.213 GB, free: 4.703 MB / 0.9669 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.0008132/0.3665, allocations: 0.5727 MB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3666, allocations: 8.031 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.3666, allocations: 32.56 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.367, allocations: 266.7 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.367, allocations: 12.81 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.367, allocations: 24.31 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3674, allocations: 187.6 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3674, allocations: 0 / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3674, allocations: 4 kB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3675, allocations: 4 kB / 1.214 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.3678, allocations: 133.7 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.3687, allocations: 0.8002 MB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.369, allocations: 133 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3692, allocations: 56.83 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.3692, allocations: 4 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3693, allocations: 42.55 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3693, allocations: 0 / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004791/0.3698, allocations: 177.2 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.3698, allocations: 51.41 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.37, allocations: 238.6 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.37, allocations: 29.64 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.3701, allocations: 156.2 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3702, allocations: 47.44 kB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.3702, allocations: 25.72 kB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3704, allocations: 334.8 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3705, allocations: 40.83 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3706, allocations: 39.97 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.3708, allocations: 90.89 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3708, allocations: 0 / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002956/0.3711, allocations: 141.4 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3712, allocations: 11.94 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3712, allocations: 0 / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3712, allocations: 0 / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3713, allocations: 27.98 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3714, allocations: 7.969 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.3715, allocations: 19.84 kB / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3715, allocations: 0 / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001791/0.3717, allocations: 136.1 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001071/0.3718, allocations: 45.78 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000202/0.372, allocations: 84.81 kB / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.372, allocations: 0 / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.00027/0.3723, allocations: 132.5 kB / 1.217 GB, free: 368 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.3723, allocations: 4.109 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3723, allocations: 7.938 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.3723, allocations: 7.938 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3724, allocations: 31.92 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/0.3724, allocations: 0 / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.3725, allocations: 15.83 kB / 1.217 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3725, allocations: 4 kB / 1.217 GB, free: 296 kB / 0.9669 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.34e-05/0.3726, allocations: 184.3 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3727, allocations: 23.75 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.373, allocations: 159.3 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3731, allocations: 4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3731, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3731, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.3734, allocations: 265.5 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3734, allocations: 4 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3735, allocations: 23.98 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3735, allocations: 3.938 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3735, allocations: 8 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3735, allocations: 0 / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3735, allocations: 0 / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.3739, allocations: 247.1 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.374, allocations: 108.8 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3741, allocations: 7.938 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3742, allocations: 4 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.3743, allocations: 11.98 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3743, allocations: 4 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001694/0.3745, allocations: 174 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3745, allocations: 0 / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004018/0.3749, allocations: 99.69 kB / 1.218 GB, free: 14.89 MB / 0.9825 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.0001712/0.3751, allocations: 111.2 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.3755, allocations: 144.5 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3755, allocations: 0 / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3757, allocations: 55.91 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3761, allocations: 67.48 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.3767, allocations: 396.1 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.377, allocations: 0.7518 MB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.3771, allocations: 21.53 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.3772, allocations: 27.42 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3772, allocations: 4 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.005832/0.383, allocations: 2.674 MB / 1.222 GB, free: 10.63 MB / 0.9825 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