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.005044/0.005044, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001112/0.001112, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.84 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 159.9 MB / 1.226 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003433/0.3374, allocations: 2.406 MB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.339, allocations: 0.9348 MB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3392, allocations: 8 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.3393, allocations: 39.58 kB / 1.229 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.3397, allocations: 131 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.3401, allocations: 175.7 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.3406, allocations: 350.3 kB / 1.23 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.3408, allocations: 111.9 kB / 1.23 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.341, allocations: 131.5 kB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.3412, allocations: 131.4 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.3413, allocations: 23.98 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3414, allocations: 43.97 kB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.3415, allocations: 51.78 kB / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3416, allocations: 139.2 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.342, allocations: 302.7 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.342, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.342, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.342, allocations: 4 kB / 1.23 GB, free: 4.242 MB / 0.9825 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.0008476/0.3429, allocations: 0.5686 MB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3429, allocations: 8.031 kB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.343, allocations: 32.75 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.3434, allocations: 274.8 kB / 1.231 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3434, allocations: 20.81 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.3435, allocations: 16.38 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3439, allocations: 179.6 kB / 1.232 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3439, allocations: 4 kB / 1.232 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3439, allocations: 8 kB / 1.232 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3439, allocations: 7.938 kB / 1.232 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.3442, allocations: 125.7 kB / 1.232 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.3451, allocations: 0.8082 MB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.3455, allocations: 122.5 kB / 1.233 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3456, allocations: 64.77 kB / 1.233 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3457, allocations: 8 kB / 1.233 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3457, allocations: 38.56 kB / 1.233 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3457, allocations: 3.938 kB / 1.233 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005124/0.3462, allocations: 178.4 kB / 1.233 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3463, allocations: 55.39 kB / 1.233 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3465, allocations: 238.6 kB / 1.233 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3466, allocations: 29.7 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.3467, allocations: 152.4 kB / 1.233 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3467, allocations: 43.58 kB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3468, allocations: 37.66 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3469, allocations: 330.8 kB / 1.234 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.347, allocations: 40.78 kB / 1.234 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3472, allocations: 47.59 kB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.3474, allocations: 88.81 kB / 1.234 GB, free: 500 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3474, allocations: 0 / 1.234 GB, free: 500 kB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.3477, allocations: 137.5 kB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3477, allocations: 11.94 kB / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3477, allocations: 0 / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3478, allocations: 4 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3479, allocations: 27.92 kB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3479, allocations: 0 / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.348, allocations: 19.88 kB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.348, allocations: 4 kB / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001661/0.3482, allocations: 132.1 kB / 1.234 GB, free: 152 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.591e-05/0.3483, allocations: 39.97 kB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002012/0.3485, allocations: 91.8 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.3485, allocations: 3.938 kB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002928/0.3488, allocations: 141.4 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.3488, allocations: 4 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.3489, allocations: 0 / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.3489, allocations: 7.938 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.349, allocations: 19.98 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.349, allocations: 8 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.3491, allocations: 7.953 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3491, allocations: 7.984 kB / 1.234 GB, free: 15.82 MB / 0.9981 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.599e-05/0.3492, allocations: 184.8 kB / 1.235 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3492, allocations: 27.8 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.3496, allocations: 147.4 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3496, allocations: 7.984 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3496, allocations: 4 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3496, allocations: 3.984 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3499, allocations: 269.6 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3499, allocations: 0 / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.35, allocations: 27.97 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3501, allocations: 7.875 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3501, allocations: 4 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3501, allocations: 3.938 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3501, allocations: 4 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3504, allocations: 245.9 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.3505, allocations: 105 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3505, allocations: 7.922 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3507, allocations: 8 kB / 1.236 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3507, allocations: 7.984 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3507, allocations: 4 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001398/0.3509, allocations: 178 kB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3509, allocations: 0 / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003768/0.3513, allocations: 99.72 kB / 1.236 GB, free: 14.39 MB / 0.9981 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.0001564/0.3514, allocations: 115.1 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3518, allocations: 143.8 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3519, allocations: 3.938 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.352, allocations: 51.97 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3524, allocations: 56.78 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.3531, allocations: 399.9 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3534, allocations: 0.7479 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.3535, allocations: 25.53 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3535, allocations: 15.44 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3535, allocations: 0 / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.005788/0.3593, allocations: 2.636 MB / 1.24 GB, free: 10.19 MB / 0.9981 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