Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001417/0.001417, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.62/1.62, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009274, allocations: 95.91 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.05e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.607, allocations: 423.8 MB / 1.62 GB, free: 14.84 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.607, allocations: 102.7 kB / 1.62 GB, free: 14.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.438/3.045, allocations: 367.2 MB / 1.978 GB, free: 230.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.904e-06/3.045, allocations: 0 / 1.978 GB, free: 230.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000196/3.045, allocations: 27.94 kB / 1.978 GB, free: 230.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003788/3.049, allocations: 1.431 MB / 1.98 GB, free: 229.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/3.049, allocations: 12.02 kB / 1.98 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007628/3.05, allocations: 130.5 kB / 1.98 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/3.053, allocations: 1.179 MB / 1.981 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/3.053, allocations: 20 kB / 1.981 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/3.053, allocations: 40 kB / 1.981 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/3.054, allocations: 0.5337 MB / 1.982 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/3.056, allocations: 0.6823 MB / 1.982 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/3.056, allocations: 11.94 kB / 1.982 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/3.056, allocations: 0 / 1.982 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/3.056, allocations: 16 kB / 1.982 GB, free: 226.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/3.061, allocations: 2.956 MB / 1.985 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/3.062, allocations: 419.3 kB / 1.986 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/3.062, allocations: 273 kB / 1.986 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/3.063, allocations: 0.7677 MB / 1.987 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/3.063, allocations: 42.84 kB / 1.987 GB, free: 221.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.484e-06/3.063, allocations: 0 / 1.987 GB, free: 221.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001507/3.064, allocations: 0.6356 MB / 1.987 GB, free: 221.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/3.064, allocations: 144.8 kB / 1.988 GB, free: 221.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/3.066, allocations: 0.798 MB / 1.988 GB, free: 220.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/3.066, allocations: 25.7 kB / 1.988 GB, free: 220.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/3.066, allocations: 495.7 kB / 1.989 GB, free: 219.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/3.066, allocations: 122.1 kB / 1.989 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/3.066, allocations: 4 kB / 1.989 GB, free: 219.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/3.066, allocations: 322 kB / 1.989 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/3.067, allocations: 312.9 kB / 1.99 GB, free: 219 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/3.067, allocations: 411.3 kB / 1.99 GB, free: 218.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/3.068, allocations: 388 kB / 1.99 GB, free: 218.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/3.068, allocations: 0 / 1.99 GB, free: 218.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001578/3.07, allocations: 0.871 MB / 1.991 GB, free: 217.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/3.07, allocations: 0.8703 MB / 1.992 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/3.07, allocations: 8 kB / 1.992 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/3.07, allocations: 4 kB / 1.992 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/3.07, allocations: 87.89 kB / 1.992 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/3.07, allocations: 7.938 kB / 1.992 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/3.071, allocations: 71.55 kB / 1.992 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/3.071, allocations: 35.98 kB / 1.992 GB, free: 216.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/3.071, allocations: 4 kB / 1.992 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/3.073, allocations: 0.8275 MB / 1.993 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/3.073, allocations: 4 kB / 1.993 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/3.073, allocations: 4 kB / 1.993 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/3.073, allocations: 95.81 kB / 1.993 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/3.073, allocations: 7.938 kB / 1.993 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/3.074, allocations: 67.64 kB / 1.993 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/3.074, allocations: 24 kB / 1.993 GB, free: 215.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0002027/3.074, allocations: 214 kB / 1.993 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/3.074, allocations: 86.97 kB / 1.994 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/3.076, allocations: 0.7704 MB / 1.994 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/3.076, allocations: 7.938 kB / 1.994 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/3.076, allocations: 0 / 1.994 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009896/3.077, allocations: 0.8652 MB / 1.995 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/3.08, allocations: 1.876 MB / 1.997 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/3.08, allocations: 0 / 1.997 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/3.08, allocations: 67.89 kB / 1.997 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/3.08, allocations: 4 kB / 1.997 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/3.08, allocations: 19.98 kB / 1.997 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/3.08, allocations: 4 kB / 1.997 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/3.08, allocations: 3.938 kB / 1.997 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/3.082, allocations: 1.34 MB / 1.998 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/3.083, allocations: 267.8 kB / 1.999 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/3.083, allocations: 19.98 kB / 1.999 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/3.084, allocations: 39.88 kB / 1.999 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/3.084, allocations: 51.91 kB / 1.999 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/3.084, allocations: 19.98 kB / 1.999 GB, free: 209.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001008/3.085, allocations: 0.6165 MB / 1.999 GB, free: 208.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/3.085, allocations: 0 / 1.999 GB, free: 208.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002261/3.087, allocations: 0.5884 MB / 2 GB, free: 208 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.00182/3.089, allocations: 0.7143 MB / 2.001 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001857/3.091, allocations: 1.842 MB / 2.002 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/3.091, allocations: 0 / 2.002 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/3.091, allocations: 0.5187 MB / 2.003 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/3.093, allocations: 401.8 kB / 2.003 GB, free: 204.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/3.096, allocations: 1.461 MB / 2.005 GB, free: 202.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/3.097, allocations: 1.088 MB / 2.006 GB, free: 201.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001305/3.098, allocations: 280.6 kB / 2.006 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/3.099, allocations: 55.36 kB / 2.006 GB, free: 201.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/3.099, allocations: 0 / 2.006 GB, free: 201.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03554/3.134, allocations: 21.45 MB / 2.027 GB, free: 180.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches