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.216/2.216, allocations: 390.5 MB / 398 MB, free: 10.95 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.001252/0.001252, allocations: 168.9 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001018/0.001018, allocations: 106.7 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.312e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8016/1.039, allocations: 153 MB / 1.362 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/1.039, allocations: 86.12 kB / 1.362 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02129/1.06, allocations: 8.292 MB / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.06, allocations: 0 / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.912e-05/1.06, allocations: 7.75 kB / 1.37 GB, free: 32.57 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.0006773/1.061, allocations: 0.5041 MB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/1.061, allocations: 7.656 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/1.061, allocations: 30.88 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/1.062, allocations: 299.9 kB / 1.371 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.062, allocations: 14.38 kB / 1.371 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/1.062, allocations: 11.53 kB / 1.371 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001909/1.062, allocations: 93.03 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/1.062, allocations: 139.1 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.062, allocations: 0 / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/1.062, allocations: 0 / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/1.062, allocations: 7.828 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/1.063, allocations: 0.7696 MB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/1.063, allocations: 106.7 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/1.063, allocations: 48.23 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/1.063, allocations: 3.906 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/1.063, allocations: 38.38 kB / 1.372 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.063, allocations: 3.938 kB / 1.372 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.000297/1.064, allocations: 125.3 kB / 1.372 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/1.064, allocations: 51.41 kB / 1.372 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/1.064, allocations: 174.2 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/1.064, allocations: 25.7 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/1.064, allocations: 158.6 kB / 1.372 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/1.064, allocations: 45.16 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.064, allocations: 4.109 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/1.064, allocations: 332.1 kB / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/1.064, allocations: 21.2 kB / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/1.064, allocations: 27.25 kB / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/1.064, allocations: 32.39 kB / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.064, allocations: 0 / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001862/1.065, allocations: 121.6 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.065, allocations: 104.2 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.065, allocations: 3.938 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.065, allocations: 0 / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.065, allocations: 28.59 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.065, allocations: 0 / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/1.065, allocations: 14.45 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.065, allocations: 5.375 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/1.065, allocations: 3.75 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001444/1.065, allocations: 69.73 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-06/1.065, allocations: 0 / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-06/1.065, allocations: 0 / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.065, allocations: 33.66 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/1.065, allocations: 2.625 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/1.065, allocations: 22.14 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.065, allocations: 3.938 kB / 1.373 GB, free: 30.38 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.689e-05/1.065, allocations: 105 kB / 1.373 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/1.065, allocations: 19.38 kB / 1.373 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/1.066, allocations: 139 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.066, allocations: 0 / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.066, allocations: 0 / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.066, allocations: 3.953 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/1.066, allocations: 233.6 kB / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.066, allocations: 0 / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/1.066, allocations: 37.86 kB / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.066, allocations: 0 / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.066, allocations: 0 / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.066, allocations: 0 / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.066, allocations: 2.672 kB / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/1.066, allocations: 222.4 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.066, allocations: 113.5 kB / 1.374 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/1.066, allocations: 7.938 kB / 1.374 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/1.067, allocations: 12.84 kB / 1.374 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/1.067, allocations: 10.64 kB / 1.374 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.067, allocations: 0 / 1.374 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.161e-05/1.067, allocations: 144.8 kB / 1.374 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.067, allocations: 0 / 1.374 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003514/1.067, allocations: 97.06 kB / 1.374 GB, free: 29.66 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.0001275/1.067, allocations: 113.6 kB / 1.374 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001688/1.067, allocations: 103.6 kB / 1.375 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.067, allocations: 0 / 1.375 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/1.067, allocations: 41.78 kB / 1.375 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/1.068, allocations: 35.64 kB / 1.375 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/1.068, allocations: 227 kB / 1.375 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/1.068, allocations: 0.7553 MB / 1.376 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000123/1.068, allocations: 34.64 kB / 1.376 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/1.068, allocations: 11.31 kB / 1.376 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.068, allocations: 3.875 kB / 1.376 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.004218/1.073, allocations: 2.218 MB / 1.378 GB, free: 28.54 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