Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.00123, allocations: 184.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000902/0.0009021, allocations: 94.05 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 12 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2225, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.3914, allocations: 135.5 MB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3917, allocations: 87.95 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009123/0.4008, allocations: 3.279 MB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4009, allocations: 0 / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.4009, allocations: 4 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005741/0.4015, allocations: 414.8 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4016, allocations: 8.031 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4016, allocations: 11.91 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.4019, allocations: 215.9 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4019, allocations: 8 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4019, allocations: 4 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4022, allocations: 100.3 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4022, allocations: 0 / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4022, allocations: 0 / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4022, allocations: 4 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.4025, allocations: 75.95 kB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.4031, allocations: 396.5 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.4033, allocations: 66.44 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4034, allocations: 4 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4034, allocations: 30.56 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4034, allocations: 0 / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003944/0.4038, allocations: 113.6 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.4039, allocations: 59.39 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.404, allocations: 135.7 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.404, allocations: 25.7 kB / 1.037 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.4041, allocations: 108 kB / 1.037 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.4041, allocations: 7.906 kB / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.4041, allocations: 0 / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4042, allocations: 318.8 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.4043, allocations: 27.98 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.4044, allocations: 23.98 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.4045, allocations: 35.97 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4045, allocations: 0 / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00022/0.4048, allocations: 93.84 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.4048, allocations: 92.98 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4048, allocations: 7.938 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4049, allocations: 0 / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.405, allocations: 19.92 kB / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.405, allocations: 0 / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.4051, allocations: 23.83 kB / 1.038 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4051, allocations: 3.938 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.4051, allocations: 4 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001878/0.4053, allocations: 59.95 kB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.4053, allocations: 0 / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-06/0.4053, allocations: 0 / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.4054, allocations: 15.98 kB / 1.038 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4054, allocations: 3.953 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.4055, allocations: 12 kB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.4055, allocations: 0 / 1.038 GB, free: 2.137 MB / 0.6823 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 (4): * Single equations (assignments): 4 * 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 0.0001135/0.4056, allocations: 197 kB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.4056, allocations: 11.91 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4059, allocations: 101.8 kB / 1.038 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4059, allocations: 0 / 1.038 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4059, allocations: 7.953 kB / 1.038 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4059, allocations: 0 / 1.038 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4061, allocations: 181.6 kB / 1.039 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4061, allocations: 0 / 1.039 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.4062, allocations: 11.98 kB / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.4062, allocations: 0 / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4063, allocations: 4 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4063, allocations: 4 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4063, allocations: 0 / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4065, allocations: 191.3 kB / 1.039 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.4066, allocations: 89 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4067, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.4068, allocations: 11.98 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.4068, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.4068, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.571e-05/0.4069, allocations: 126.7 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4069, allocations: 0 / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003036/0.4072, allocations: 39.94 kB / 1.039 GB, free: 1.078 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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.0001922/0.4074, allocations: 107.2 kB / 1.039 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.4078, allocations: 91.88 kB / 1.039 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4078, allocations: 0 / 1.039 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.4079, allocations: 31.91 kB / 1.039 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4082, allocations: 35.77 kB / 1.039 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4086, allocations: 253.3 kB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4089, allocations: 0.7004 MB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.409, allocations: 20.39 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.409, allocations: 11.44 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.409, allocations: 0 / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of Templates: time 0.003558/0.4126, allocations: 1.183 MB / 1.041 GB, free: 14.62 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches