Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.988/1.988, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001038/0.001038, allocations: 176.8 kB / 490.8 MB, free: 1.902 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.367/1.367, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009959, allocations: 93.62 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.989e-06/1.035e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.305, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.633, allocations: 2.216 GB / 3.428 GB, free: 68.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/4.633, allocations: 82.64 kB / 3.428 GB, free: 68.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.145/12.78, allocations: 2.464 GB / 5.892 GB, free: 161.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001018/12.78, allocations: 148.1 kB / 5.892 GB, free: 161.6 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02091/12.8, allocations: 5.722 MB / 5.898 GB, free: 159.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/12.8, allocations: 7.156 kB / 5.898 GB, free: 159.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/12.81, allocations: 1.449 MB / 5.899 GB, free: 159.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/12.83, allocations: 7.302 MB / 5.906 GB, free: 158.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/12.83, allocations: 146.8 kB / 5.906 GB, free: 158.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/12.83, allocations: 274.3 kB / 5.907 GB, free: 158.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01146/12.84, allocations: 5.391 MB / 5.912 GB, free: 158.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/12.86, allocations: 5.858 MB / 5.918 GB, free: 158 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/12.86, allocations: 7.156 kB / 5.918 GB, free: 158 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004868/12.86, allocations: 7.594 kB / 5.918 GB, free: 158 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/12.86, allocations: 225.7 kB / 5.918 GB, free: 158 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03969/12.9, allocations: 27.67 MB / 5.945 GB, free: 147.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/12.9, allocations: 2.504 MB / 5.947 GB, free: 147.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/12.9, allocations: 2.434 MB / 5.95 GB, free: 147.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/12.9, allocations: 1.097 MB / 5.951 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003001/12.91, allocations: 2.325 MB / 5.953 GB, free: 146.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=313): time 4.829e-06/12.91, allocations: 3.094 kB / 5.953 GB, free: 146.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=317): time 0.02663/12.93, allocations: 11.18 MB / 5.964 GB, free: 143.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/12.93, allocations: 202.2 kB / 5.964 GB, free: 143.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/12.94, allocations: 3.978 MB / 5.968 GB, free: 143 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007892/12.94, allocations: 31.77 kB / 5.968 GB, free: 143 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/12.94, allocations: 1.665 MB / 5.97 GB, free: 142.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002232/12.95, allocations: 1.045 MB / 5.971 GB, free: 141.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/12.95, allocations: 0 / 5.971 GB, free: 141.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001862/12.95, allocations: 432.3 kB / 5.971 GB, free: 141.1 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/12.95, allocations: 1.742 MB / 5.973 GB, free: 141.1 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/12.95, allocations: 2.461 MB / 5.975 GB, free: 140.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/12.95, allocations: 2.36 MB / 5.978 GB, free: 140.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/12.95, allocations: 6.141 kB / 5.978 GB, free: 140.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.007907/12.96, allocations: 4.834 MB / 5.982 GB, free: 140 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001026/12.96, allocations: 5.769 MB / 5.988 GB, free: 134.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/12.96, allocations: 14.38 kB / 5.988 GB, free: 134.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/12.96, allocations: 122.8 kB / 5.988 GB, free: 134.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/12.97, allocations: 0.6977 MB / 5.989 GB, free: 134.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/12.97, allocations: 2.612 MB / 5.991 GB, free: 132.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/12.98, allocations: 456.3 kB / 5.992 GB, free: 132.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005523/12.98, allocations: 131 kB / 5.992 GB, free: 132.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/12.98, allocations: 10.12 kB / 5.992 GB, free: 132.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008211/12.98, allocations: 4.346 MB / 5.996 GB, free: 132.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/12.98, allocations: 11.97 kB / 5.996 GB, free: 132.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/12.98, allocations: 122.9 kB / 5.996 GB, free: 132.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/12.99, allocations: 0.6861 MB / 5.997 GB, free: 132.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/12.99, allocations: 1.991 MB / 5.999 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00657/13, allocations: 438.9 kB / 5.999 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006642/13, allocations: 127.3 kB / 5.999 GB, free: 130.9 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001076/13, allocations: 249.4 kB / 6 GB, free: 130.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/13, allocations: 449.1 kB / 6 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/13.01, allocations: 4.688 MB / 6.005 GB, free: 129.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/13.01, allocations: 30.12 kB / 6.005 GB, free: 129.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/13.01, allocations: 3.125 kB / 6.005 GB, free: 129.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006804/13.02, allocations: 3.948 MB / 6.009 GB, free: 127.7 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/13.04, allocations: 11.34 MB / 6.02 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/13.04, allocations: 3.469 kB / 6.02 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/13.04, allocations: 0.6682 MB / 6.02 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/13.04, allocations: 110.4 kB / 6.02 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/13.04, allocations: 54.27 kB / 6.02 GB, free: 123 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/13.05, allocations: 2.594 MB / 6.023 GB, free: 120.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/13.05, allocations: 3.75 kB / 6.023 GB, free: 120.8 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01061/13.06, allocations: 7.545 MB / 6.03 GB, free: 117.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004149/13.06, allocations: 1.174 MB / 6.031 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/13.06, allocations: 30.28 kB / 6.032 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004502/13.07, allocations: 397.7 kB / 6.032 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/13.07, allocations: 168.2 kB / 6.032 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/13.07, allocations: 119.7 kB / 6.032 GB, free: 116.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.005029/13.07, allocations: 3.102 MB / 6.035 GB, free: 115.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01345/13.09, allocations: 2.694 MB / 6.038 GB, free: 115.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005449/13.09, allocations: 3.075 MB / 6.041 GB, free: 114.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01196/13.1, allocations: 6.91 MB / 6.048 GB, free: 111.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/13.1, allocations: 4 kB / 6.048 GB, free: 111.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/13.11, allocations: 2.285 MB / 6.05 GB, free: 109.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/13.12, allocations: 2.641 MB / 6.052 GB, free: 107.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/13.14, allocations: 11.39 MB / 6.064 GB, free: 98.41 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006007/13.15, allocations: 4.902 MB / 6.068 GB, free: 94.67 MB / 1.198 GB Notification: Performance of SimCode: time 2.175e-06/13.15, allocations: 0 / 6.068 GB, free: 94.67 MB / 1.198 GB Notification: Performance of Templates: time 0.7738/13.92, allocations: 134.9 MB / 6.2 GB, free: 283.3 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches