Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001139/0.001139, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001382/0.001382, allocations: 177.3 kB / 15.94 MB, free: 228 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.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5995/0.5999, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03435/0.6342, allocations: 35.27 MB / 1.055 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.6451, allocations: 7.719 MB / 1.063 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6462, allocations: 31.81 kB / 1.063 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6477, allocations: 0.5015 MB / 1.063 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.6507, allocations: 1.195 MB / 1.064 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.6539, allocations: 1.16 MB / 1.066 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.6563, allocations: 1.505 MB / 1.067 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009001/0.6572, allocations: 0.6514 MB / 1.068 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.6584, allocations: 0.7239 MB / 1.068 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.6591, allocations: 485.8 kB / 1.069 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.6592, allocations: 36 kB / 1.069 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.6609, allocations: 0.7371 MB / 1.07 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.6612, allocations: 219.2 kB / 1.07 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.6614, allocations: 253.1 kB / 1.07 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.6635, allocations: 1.664 MB / 1.072 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6635, allocations: 4 kB / 1.072 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6635, allocations: 0 / 1.072 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.6635, allocations: 0 / 1.072 GB, free: 12.86 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.002874/0.6664, allocations: 1.499 MB / 1.073 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6664, allocations: 15.92 kB / 1.073 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.6668, allocations: 130.5 kB / 1.073 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.6687, allocations: 1.124 MB / 1.074 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.6688, allocations: 53.27 kB / 1.074 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.6689, allocations: 72 kB / 1.075 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6704, allocations: 0.8057 MB / 1.075 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.6704, allocations: 0 / 1.075 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.6705, allocations: 24 kB / 1.075 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.6706, allocations: 24 kB / 1.075 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6717, allocations: 0.6102 MB / 1.076 GB, free: 8.348 MB / 0.8262 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.004593/0.6763, allocations: 3.138 MB / 1.079 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.6772, allocations: 458.7 kB / 1.079 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009597/0.6782, allocations: 0.7831 MB / 1.08 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.6782, allocations: 38.48 kB / 1.08 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 3.036e-06/0.6782, allocations: 0 / 1.08 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38): time 0.00201/0.6803, allocations: 1.235 MB / 1.081 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.6804, allocations: 144.5 kB / 1.082 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6819, allocations: 0.9967 MB / 1.083 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.6819, allocations: 37.7 kB / 1.083 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.6824, allocations: 460.5 kB / 1.083 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.6825, allocations: 134.1 kB / 1.083 GB, free: 460 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.6826, allocations: 12 kB / 1.083 GB, free: 448 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6827, allocations: 337.9 kB / 1.084 GB, free: 104 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.6833, allocations: 324.8 kB / 1.084 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.6839, allocations: 443.5 kB / 1.084 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.6846, allocations: 0.5235 MB / 1.085 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6846, allocations: 0 / 1.085 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001414/0.686, allocations: 1.072 MB / 1.086 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.6864, allocations: 0.9705 MB / 1.087 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6864, allocations: 4 kB / 1.087 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6865, allocations: 4 kB / 1.087 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.6868, allocations: 91.89 kB / 1.087 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.6868, allocations: 4 kB / 1.087 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.6875, allocations: 111.2 kB / 1.087 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.6876, allocations: 31.98 kB / 1.087 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.6876, allocations: 4 kB / 1.087 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/0.6889, allocations: 1.074 MB / 1.088 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.689, allocations: 4.062 kB / 1.088 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.689, allocations: 4 kB / 1.088 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.6893, allocations: 91.89 kB / 1.088 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6893, allocations: 7.984 kB / 1.088 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.6899, allocations: 99.39 kB / 1.088 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.6899, allocations: 35.94 kB / 1.088 GB, free: 10.98 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 48 * 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.0005422/0.6905, allocations: 474 kB / 1.089 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6906, allocations: 110.7 kB / 1.089 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.692, allocations: 0.9329 MB / 1.09 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.692, allocations: 4 kB / 1.09 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.692, allocations: 0 / 1.09 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.6931, allocations: 0.9842 MB / 1.091 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.696, allocations: 2.079 MB / 1.093 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.696, allocations: 7.953 kB / 1.093 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.6963, allocations: 67.89 kB / 1.093 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6964, allocations: 4 kB / 1.093 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.6964, allocations: 16 kB / 1.093 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6964, allocations: 4 kB / 1.093 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6964, allocations: 3.938 kB / 1.093 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.6982, allocations: 1.535 MB / 1.094 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.6986, allocations: 287.6 kB / 1.095 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6988, allocations: 12 kB / 1.095 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.6993, allocations: 59.89 kB / 1.095 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6994, allocations: 51.89 kB / 1.095 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.6995, allocations: 24 kB / 1.095 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009449/0.7004, allocations: 0.7179 MB / 1.095 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7004, allocations: 0 / 1.095 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001266/0.7017, allocations: 0.5031 MB / 1.096 GB, free: 2.73 MB / 0.8419 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.0007591/0.7025, allocations: 392.9 kB / 1.096 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.7047, allocations: 1.909 MB / 1.098 GB, free: 304 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7047, allocations: 4 kB / 1.098 GB, free: 300 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.7054, allocations: 0.5499 MB / 1.099 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.7075, allocations: 0.4971 MB / 1.099 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.7104, allocations: 2.283 MB / 1.101 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.7111, allocations: 1.095 MB / 1.103 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006911/0.7118, allocations: 205.1 kB / 1.103 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.7119, allocations: 71.42 kB / 1.103 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of SimCode: time 8.62e-07/0.7119, allocations: 0 / 1.103 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.03471/0.7466, allocations: 22.06 MB / 1.124 GB, free: 5.75 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches