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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 0.7915 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009123, allocations: 87.89 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.325e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9028/1.208, allocations: 153.7 MB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.208, allocations: 80.45 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02346/1.232, allocations: 8.346 MB / 1.377 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.232, allocations: 0 / 1.377 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.8e-05/1.232, allocations: 4 kB / 1.377 GB, free: 9.289 MB / 0.8386 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.0007495/1.233, allocations: 0.4993 MB / 1.378 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.233, allocations: 11.97 kB / 1.378 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/1.233, allocations: 35.62 kB / 1.378 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/1.233, allocations: 297.1 kB / 1.378 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.233, allocations: 15.25 kB / 1.378 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.233, allocations: 19.19 kB / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/1.234, allocations: 159.8 kB / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.234, allocations: 4 kB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/1.234, allocations: 6.688 kB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.234, allocations: 8 kB / 1.378 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/1.234, allocations: 104.3 kB / 1.378 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/1.235, allocations: 0.8273 MB / 1.379 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/1.235, allocations: 121.4 kB / 1.379 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/1.235, allocations: 43.36 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/1.235, allocations: 4 kB / 1.379 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.236, allocations: 38.44 kB / 1.379 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/1.236, allocations: 0 / 1.379 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002742/1.236, allocations: 111.5 kB / 1.379 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.236, allocations: 51.41 kB / 1.379 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.236, allocations: 210.5 kB / 1.38 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/1.236, allocations: 29.64 kB / 1.38 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/1.236, allocations: 160.1 kB / 1.38 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.236, allocations: 46.14 kB / 1.38 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/1.236, allocations: 0 / 1.38 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.236, allocations: 336.2 kB / 1.38 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/1.236, allocations: 22.5 kB / 1.38 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/1.236, allocations: 19.69 kB / 1.38 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.485e-05/1.237, allocations: 36.11 kB / 1.38 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.237, allocations: 0 / 1.38 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001808/1.237, allocations: 114.9 kB / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/1.237, allocations: 97.62 kB / 1.38 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.237, allocations: 0 / 1.38 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.237, allocations: 0 / 1.38 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/1.237, allocations: 35.91 kB / 1.38 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.237, allocations: 0 / 1.38 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/1.237, allocations: 19.89 kB / 1.38 GB, free: 6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/1.237, allocations: 7.688 kB / 1.38 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.237, allocations: 4 kB / 1.38 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001224/1.237, allocations: 69.61 kB / 1.38 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/1.237, allocations: 0 / 1.38 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-06/1.237, allocations: 0 / 1.38 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/1.237, allocations: 39.86 kB / 1.381 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/1.238, allocations: 4 kB / 1.381 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/1.238, allocations: 27.64 kB / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/1.238, allocations: 0 / 1.381 GB, free: 5.879 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/1.238, allocations: 109.5 kB / 1.381 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/1.238, allocations: 15.81 kB / 1.381 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/1.238, allocations: 128.8 kB / 1.381 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.238, allocations: 8 kB / 1.381 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.238, allocations: 3.953 kB / 1.381 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.238, allocations: 3.984 kB / 1.381 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/1.238, allocations: 267 kB / 1.381 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.238, allocations: 0 / 1.381 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.238, allocations: 31.67 kB / 1.381 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.238, allocations: 3.984 kB / 1.381 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/1.239, allocations: 0 / 1.381 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.239, allocations: 0 / 1.381 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.239, allocations: 0 / 1.381 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/1.239, allocations: 228.8 kB / 1.381 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/1.239, allocations: 112.5 kB / 1.381 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/1.239, allocations: 4 kB / 1.381 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.239, allocations: 11.98 kB / 1.381 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/1.239, allocations: 11.86 kB / 1.381 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/1.239, allocations: 8 kB / 1.381 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001389/1.239, allocations: 172 kB / 1.382 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.239, allocations: 0 / 1.382 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003558/1.24, allocations: 106.5 kB / 1.382 GB, free: 4.715 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/1.24, allocations: 107.2 kB / 1.382 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002142/1.24, allocations: 116.1 kB / 1.382 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.24, allocations: 4 kB / 1.382 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/1.24, allocations: 38.88 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/1.24, allocations: 58.44 kB / 1.382 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/1.241, allocations: 231.8 kB / 1.382 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.241, allocations: 0.7563 MB / 1.383 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001593/1.241, allocations: 41.48 kB / 1.383 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/1.241, allocations: 19.44 kB / 1.383 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.241, allocations: 0 / 1.383 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of Templates: time 0.006243/1.248, allocations: 2.792 MB / 1.386 GB, free: 0.625 MB / 0.8386 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","../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches