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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00149/0.00149, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6911, allocations: 142.4 MB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03821/0.7294, allocations: 38.68 MB / 0.9922 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.7435, allocations: 8.288 MB / 1 GB, free: 408 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.7453, allocations: 39.75 kB / 1 GB, free: 368 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.7467, allocations: 413.5 kB / 1.001 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.7496, allocations: 0.9896 MB / 1.002 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.7521, allocations: 0.8453 MB / 1.003 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003068/0.7552, allocations: 2.902 MB / 1.005 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009256/0.7561, allocations: 0.6395 MB / 1.006 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.7575, allocations: 0.7971 MB / 1.007 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.7583, allocations: 0.6455 MB / 1.007 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.766e-05/0.7584, allocations: 40 kB / 1.007 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.7601, allocations: 0.8694 MB / 1.008 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.7603, allocations: 247 kB / 1.009 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.7606, allocations: 257.1 kB / 1.009 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.7623, allocations: 1.742 MB / 1.01 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7623, allocations: 0 / 1.01 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7623, allocations: 0 / 1.01 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.7623, allocations: 0 / 1.01 GB, free: 5.957 MB / 0.7637 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.002121/0.7644, allocations: 1.522 MB / 1.012 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7645, allocations: 12.03 kB / 1.012 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.7648, allocations: 134.4 kB / 1.012 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7663, allocations: 1.027 MB / 1.013 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.7663, allocations: 53.31 kB / 1.013 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.7664, allocations: 68 kB / 1.013 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.7679, allocations: 0.8019 MB / 1.014 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.7679, allocations: 3.938 kB / 1.014 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.768, allocations: 28 kB / 1.014 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.768, allocations: 16 kB / 1.014 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.7691, allocations: 0.618 MB / 1.015 GB, free: 1.512 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003874/0.773, allocations: 3.217 MB / 1.018 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.7738, allocations: 464.3 kB / 1.018 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.7742, allocations: 308.7 kB / 1.019 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.775, allocations: 0.7831 MB / 1.019 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.7751, allocations: 42.52 kB / 1.019 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 2.484e-06/0.7751, allocations: 0 / 1.019 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.001637/0.7767, allocations: 1.014 MB / 1.02 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.7768, allocations: 140.4 kB / 1.02 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7782, allocations: 1.067 MB / 1.022 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.7783, allocations: 37.7 kB / 1.022 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.7786, allocations: 464.6 kB / 1.022 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.7788, allocations: 130.1 kB / 1.022 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.7788, allocations: 8 kB / 1.022 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7789, allocations: 334 kB / 1.022 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.7794, allocations: 344.8 kB / 1.023 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.78, allocations: 458.7 kB / 1.023 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.7806, allocations: 0.543 MB / 1.024 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7806, allocations: 0 / 1.024 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001458/0.7821, allocations: 1.111 MB / 1.025 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.7823, allocations: 323.4 kB / 1.025 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7823, allocations: 4 kB / 1.025 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7823, allocations: 8 kB / 1.025 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.7827, allocations: 87.89 kB / 1.025 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7827, allocations: 4 kB / 1.025 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.7833, allocations: 103.3 kB / 1.025 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.7834, allocations: 27.98 kB / 1.025 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.7834, allocations: 4 kB / 1.025 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001456/0.7848, allocations: 1.109 MB / 1.026 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7849, allocations: 4 kB / 1.026 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.7849, allocations: 4 kB / 1.026 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.7852, allocations: 96.05 kB / 1.027 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7852, allocations: 4 kB / 1.027 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.7858, allocations: 107.3 kB / 1.027 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.7858, allocations: 20 kB / 1.027 GB, free: 4.559 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * 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.0006205/0.7865, allocations: 477.9 kB / 1.027 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7866, allocations: 102.7 kB / 1.027 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.7881, allocations: 0.9281 MB / 1.028 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.7882, allocations: 4 kB / 1.028 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7882, allocations: 4 kB / 1.028 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/0.7893, allocations: 0.9958 MB / 1.029 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.7923, allocations: 2.125 MB / 1.031 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.7923, allocations: 0 / 1.031 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.7926, allocations: 63.91 kB / 1.031 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/0.7926, allocations: 8.281 kB / 1.031 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.7927, allocations: 19.98 kB / 1.031 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.7927, allocations: 4 kB / 1.031 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7927, allocations: 4 kB / 1.031 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.7946, allocations: 1.409 MB / 1.033 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.795, allocations: 299.5 kB / 1.033 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7951, allocations: 20 kB / 1.033 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.7956, allocations: 58.48 kB / 1.033 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7958, allocations: 47.89 kB / 1.033 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.7958, allocations: 23.98 kB / 1.033 GB, free: 13.65 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001059/0.7969, allocations: 0.7611 MB / 1.034 GB, free: 12.88 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.7969, allocations: 4 kB / 1.034 GB, free: 12.88 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001391/0.7983, allocations: 0.5187 MB / 1.034 GB, free: 12.36 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * 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.0008989/0.7992, allocations: 388.6 kB / 1.035 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.8014, allocations: 1.947 MB / 1.037 GB, free: 9.879 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.8014, allocations: 4.062 kB / 1.037 GB, free: 9.875 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.8021, allocations: 0.5448 MB / 1.037 GB, free: 9.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.8042, allocations: 0.496 MB / 1.038 GB, free: 8.805 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.8074, allocations: 2.286 MB / 1.04 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.8081, allocations: 1.072 MB / 1.041 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.8089, allocations: 216.5 kB / 1.041 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.8091, allocations: 71.42 kB / 1.041 GB, free: 5.094 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.8091, allocations: 3.938 kB / 1.041 GB, free: 5.09 MB / 0.795 GB Notification: Performance of Templates: time 0.03554/0.8446, allocations: 22.41 MB / 1.063 GB, free: 15 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches