Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.000961/0.0009608, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008221/0.008221, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6125, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.0403/0.6529, allocations: 40.89 MB / 1.063 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.665, allocations: 8.875 MB / 1.072 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.6664, allocations: 35.75 kB / 1.072 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.6679, allocations: 491.4 kB / 1.072 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.671, allocations: 1.167 MB / 1.073 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.6737, allocations: 1.045 MB / 1.074 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.6776, allocations: 3.355 MB / 1.078 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.679, allocations: 0.73 MB / 1.078 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.6809, allocations: 0.8398 MB / 1.079 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.6822, allocations: 0.692 MB / 1.08 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6824, allocations: 40 kB / 1.08 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.6847, allocations: 1.06 MB / 1.081 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003569/0.6851, allocations: 251 kB / 1.081 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008497/0.686, allocations: 0.569 MB / 1.082 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.689, allocations: 2.223 MB / 1.084 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.689, allocations: 0 / 1.084 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.689, allocations: 0 / 1.084 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.695e-05/0.6891, allocations: 0 / 1.084 GB, free: 1.371 MB / 0.8262 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.002755/0.6919, allocations: 1.515 MB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6919, allocations: 12.03 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.6923, allocations: 131.4 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.6943, allocations: 1.067 MB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.6944, allocations: 53.31 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6945, allocations: 71.91 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.696, allocations: 0.8136 MB / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.696, allocations: 0 / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.6961, allocations: 28 kB / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.6962, allocations: 19.98 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.6974, allocations: 0.6219 MB / 1.088 GB, free: 12.88 MB / 0.8419 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.004632/0.702, allocations: 3.22 MB / 1.091 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.7029, allocations: 468.5 kB / 1.092 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.7034, allocations: 323 kB / 1.092 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/0.7043, allocations: 0.7753 MB / 1.093 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.7043, allocations: 38.56 kB / 1.093 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.7043, allocations: 0 / 1.093 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38): time 0.001864/0.7062, allocations: 1.01 MB / 1.094 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.7063, allocations: 140.5 kB / 1.094 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.708, allocations: 1.075 MB / 1.095 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.708, allocations: 33.7 kB / 1.095 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.7085, allocations: 468.5 kB / 1.095 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.7086, allocations: 130.2 kB / 1.096 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.7087, allocations: 49.69 kB / 1.096 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7088, allocations: 334 kB / 1.096 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.7094, allocations: 352.8 kB / 1.096 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.71, allocations: 454.8 kB / 1.097 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.7113, allocations: 0.9832 MB / 1.098 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7113, allocations: 3.938 kB / 1.098 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001624/0.7129, allocations: 1.112 MB / 1.099 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.7131, allocations: 327.4 kB / 1.099 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.7131, allocations: 0 / 1.099 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.7132, allocations: 4 kB / 1.099 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.7136, allocations: 95.89 kB / 1.099 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7136, allocations: 7.984 kB / 1.099 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.7143, allocations: 107.2 kB / 1.099 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.7144, allocations: 27.92 kB / 1.099 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.7144, allocations: 4 kB / 1.099 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/0.7159, allocations: 1.116 MB / 1.1 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7159, allocations: 3.984 kB / 1.1 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.7159, allocations: 4 kB / 1.1 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.7163, allocations: 91.83 kB / 1.1 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7163, allocations: 12.16 kB / 1.1 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.7169, allocations: 99.38 kB / 1.101 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.717, allocations: 24 kB / 1.101 GB, free: 15.36 MB / 0.8575 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005766/0.7176, allocations: 479.6 kB / 1.101 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7177, allocations: 106.7 kB / 1.101 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.7192, allocations: 0.9261 MB / 1.102 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7192, allocations: 4 kB / 1.102 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7192, allocations: 64 / 1.102 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.7204, allocations: 0.9991 MB / 1.103 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.7235, allocations: 2.134 MB / 1.105 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7235, allocations: 0 / 1.105 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.7238, allocations: 67.91 kB / 1.105 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.7238, allocations: 7.984 kB / 1.105 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.7239, allocations: 16.28 kB / 1.105 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.7239, allocations: 7.938 kB / 1.105 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7239, allocations: 4 kB / 1.105 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.7258, allocations: 1.417 MB / 1.107 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.7263, allocations: 295.5 kB / 1.107 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.7264, allocations: 12 kB / 1.107 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.727, allocations: 59.86 kB / 1.107 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7271, allocations: 51.88 kB / 1.107 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.7272, allocations: 20 kB / 1.107 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001105/0.7283, allocations: 0.7766 MB / 1.108 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7283, allocations: 0 / 1.108 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001444/0.7297, allocations: 0.5187 MB / 1.108 GB, free: 7.137 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008869/0.7306, allocations: 392.1 kB / 1.109 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.733, allocations: 1.955 MB / 1.111 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.733, allocations: 4.062 kB / 1.111 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/0.7338, allocations: 0.5487 MB / 1.111 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.7366, allocations: 0.5179 MB / 1.112 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.7395, allocations: 2.283 MB / 1.114 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.7401, allocations: 1.072 MB / 1.115 GB, free: 112 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007545/0.7409, allocations: 211 kB / 1.115 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.7411, allocations: 75.42 kB / 1.115 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.7411, allocations: 3.938 kB / 1.115 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.03901/0.7801, allocations: 23.58 MB / 1.138 GB, free: 8.566 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches