Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.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.Examples.WetCoilDiscretizedMassFlow,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_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,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_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 112.8 kB / 16.42 MB, free: 6.473 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.001709/0.001709, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.446/2.446, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.12 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8021, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow): time 0.4051/1.207, allocations: 396.6 MB / 1.555 GB, free: 5.828 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7599/1.967, allocations: 27.18 MB / 1.581 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005391/1.973, allocations: 120.5 kB / 1.581 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/1.978, allocations: 1.946 MB / 1.583 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.991, allocations: 5.259 MB / 1.588 GB, free: 95.14 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008539/2, allocations: 3.354 MB / 1.592 GB, free: 95.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.101/2.101, allocations: 113.1 MB / 1.702 GB, free: 62.58 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09683/2.198, allocations: 75.38 MB / 1.776 GB, free: 4.848 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08186/2.279, allocations: 41.42 MB / 1.816 GB, free: 13.2 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07341/2.353, allocations: 35.43 MB / 1.851 GB, free: 12.2 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.02098/2.374, allocations: 6.242 MB / 1.857 GB, free: 5.961 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04246/2.416, allocations: 10.28 MB / 1.867 GB, free: 12.04 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.034/2.45, allocations: 15.59 MB / 1.882 GB, free: 12.71 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.069/2.52, allocations: 27.36 MB / 1.909 GB, free: 1.516 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.1308/2.65, allocations: 97.02 MB / 2.004 GB, free: 1.918 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/2.65, allocations: 0 / 2.004 GB, free: 1.918 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.643e-06/2.65, allocations: 0 / 2.004 GB, free: 1.918 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.00258/2.653, allocations: 0 / 2.004 GB, free: 1.918 MB / 1.514 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6759 * Number of variables: 6759 Notification: Performance of Generate backend data structure: time 0.1783/2.831, allocations: 50.64 MB / 2.053 GB, free: 15.45 MB / 1.576 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/2.831, allocations: 8.922 kB / 2.053 GB, free: 15.44 MB / 1.576 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05544/2.887, allocations: 8.109 MB / 2.061 GB, free: 7.309 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.143/3.03, allocations: 61.66 MB / 2.121 GB, free: 10.32 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002489/3.033, allocations: 1.95 MB / 2.123 GB, free: 8.383 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01614/3.049, allocations: 2.647 MB / 2.126 GB, free: 5.75 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.576/4.625, allocations: 59.67 MB / 2.184 GB, free: 0.6288 GB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001502/4.626, allocations: 65.56 kB / 2.184 GB, free: 0.6288 GB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01239/4.639, allocations: 1.075 MB / 2.185 GB, free: 0.628 GB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/4.641, allocations: 1.192 MB / 2.186 GB, free: 0.6279 GB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/4.758, allocations: 60.6 MB / 2.245 GB, free: 0.601 GB / 1.67 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.3411/5.099, allocations: 216.4 MB / 2.457 GB, free: 394.8 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03918/5.138, allocations: 32.2 MB / 2.488 GB, free: 362.1 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03099/5.169, allocations: 23.77 MB / 2.511 GB, free: 338.3 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/5.172, allocations: 1.236 MB / 2.513 GB, free: 336.9 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0303/5.202, allocations: 20.09 MB / 2.532 GB, free: 316.8 MB / 1.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02067/5.223, allocations: 5.445 MB / 2.538 GB, free: 311.8 MB / 1.67 GB Notification: Performance of pre-optimization done (n=1527): time 4.206e-05/5.223, allocations: 0 / 2.538 GB, free: 311.8 MB / 1.67 GB Notification: Performance of matching and sorting (n=1551): time 0.1735/5.396, allocations: 98.84 MB / 2.634 GB, free: 212.8 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/5.396, allocations: 270.9 kB / 2.634 GB, free: 212.5 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05072/5.447, allocations: 30 MB / 2.664 GB, free: 182.7 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004368/5.451, allocations: 333.7 kB / 2.664 GB, free: 182.4 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01729/5.469, allocations: 15.34 MB / 2.679 GB, free: 166.9 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.008165/5.477, allocations: 5.598 MB / 2.684 GB, free: 161.4 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01089/5.488, allocations: 3.952 MB / 2.688 GB, free: 157.4 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 3.209e-05/5.488, allocations: 301.1 kB / 2.689 GB, free: 157.1 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02371/5.512, allocations: 17.48 MB / 2.706 GB, free: 139.6 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02739/5.539, allocations: 21.95 MB / 2.727 GB, free: 116.2 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05279/5.592, allocations: 41.55 MB / 2.768 GB, free: 73.61 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/5.592, allocations: 20 kB / 2.768 GB, free: 73.59 MB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 0.07056/5.663, allocations: 43.12 MB / 2.81 GB, free: 30.38 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/5.663, allocations: 103.4 kB / 2.81 GB, free: 30.27 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/5.663, allocations: 80 kB / 2.81 GB, free: 30.19 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/5.665, allocations: 1.284 MB / 2.811 GB, free: 28.9 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0216/5.687, allocations: 4.445 MB / 2.816 GB, free: 24.45 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/5.701, allocations: 15.42 MB / 2.831 GB, free: 8.727 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0232/5.725, allocations: 1.549 MB / 2.832 GB, free: 7.191 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00499/5.73, allocations: 0.7729 MB / 2.833 GB, free: 6.418 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.29/7.019, allocations: 39.26 MB / 2.871 GB, free: 0.5894 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02943/7.049, allocations: 21.95 MB / 2.893 GB, free: 0.58 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05961/7.108, allocations: 41.53 MB / 2.933 GB, free: 0.5643 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001568/7.109, allocations: 26.28 kB / 2.933 GB, free: 0.5643 GB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization_lambda0): time 0.07427/7.183, allocations: 43.12 MB / 2.975 GB, free: 0.5337 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/7.183, allocations: 105.4 kB / 2.975 GB, free: 0.5336 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/7.183, allocations: 84 kB / 2.975 GB, free: 0.5335 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/7.186, allocations: 1.296 MB / 2.977 GB, free: 0.5322 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02249/7.208, allocations: 4.43 MB / 2.981 GB, free: 0.5279 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/7.223, allocations: 14.82 MB / 2.996 GB, free: 0.5133 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02515/7.248, allocations: 1.623 MB / 2.997 GB, free: 0.5118 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005864/7.254, allocations: 0.7729 MB / 2.998 GB, free: 0.5111 GB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1969): * Single equations (assignments): 1964 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,48,100.0%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01016/7.264, allocations: 1.209 MB / 2.999 GB, free: 0.5099 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01002/7.274, allocations: 2.343 MB / 3.001 GB, free: 0.5088 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07976/7.354, allocations: 41.52 MB / 3.042 GB, free: 479.5 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05164/7.406, allocations: 32.68 MB / 3.074 GB, free: 446.7 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-05/7.406, allocations: 0 / 3.074 GB, free: 446.7 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02481/7.431, allocations: 7.615 MB / 3.081 GB, free: 440.2 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01061/7.441, allocations: 436.7 kB / 3.082 GB, free: 439.8 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02131/7.463, allocations: 1.338 MB / 3.083 GB, free: 438.5 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004986/7.468, allocations: 0.8778 MB / 3.084 GB, free: 437.6 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07053/7.538, allocations: 41.55 MB / 3.124 GB, free: 396.4 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08071/7.619, allocations: 60.14 MB / 3.183 GB, free: 336.1 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02082/7.64, allocations: 18.58 MB / 3.201 GB, free: 317.5 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03882/7.679, allocations: 22.19 MB / 3.223 GB, free: 295.5 MB / 1.67 GB Notification: Performance of Backend: time 9.02e-07/7.679, allocations: 0 / 3.223 GB, free: 295.5 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.08241/7.761, allocations: 46.03 MB / 3.268 GB, free: 249.7 MB / 1.67 GB Notification: Performance of SimCode: time 0.1777/7.939, allocations: 97.12 MB / 3.363 GB, free: 153.4 MB / 1.67 GB Notification: Performance of Templates: time 2.775/10.71, allocations: 0.7867 GB / 4.149 GB, free: 0.5224 GB / 1.67 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches