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.001732/0.001732, allocations: 115 kB / 16.42 MB, free: 6.512 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.001856/0.001857, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.516/2.516, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7698, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow): time 0.372/1.142, allocations: 396.6 MB / 1.555 GB, free: 5.902 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7823/1.924, allocations: 27.17 MB / 1.581 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006408/1.931, allocations: 123.2 kB / 1.581 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005897/1.937, allocations: 1.938 MB / 1.583 GB, free: 95.28 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/1.951, allocations: 5.261 MB / 1.588 GB, free: 95.14 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009187/1.96, allocations: 3.352 MB / 1.592 GB, free: 95.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1406/2.101, allocations: 113 MB / 1.702 GB, free: 62.66 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1109/2.212, allocations: 75.33 MB / 1.776 GB, free: 5.012 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08687/2.299, allocations: 41.38 MB / 1.816 GB, free: 13.41 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07572/2.374, allocations: 35.43 MB / 1.851 GB, free: 12.41 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.0212/2.396, allocations: 6.242 MB / 1.857 GB, free: 6.172 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04446/2.44, allocations: 10.28 MB / 1.867 GB, free: 12.25 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.03165/2.472, allocations: 15.58 MB / 1.882 GB, free: 12.92 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.06552/2.537, allocations: 27.36 MB / 1.909 GB, free: 1.734 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.1258/2.663, allocations: 97.21 MB / 2.004 GB, free: 1.914 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/2.663, allocations: 0 / 2.004 GB, free: 1.914 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.532e-06/2.663, allocations: 4 kB / 2.004 GB, free: 1.91 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.002578/2.666, allocations: 0 / 2.004 GB, free: 1.91 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.16/2.826, allocations: 51.68 MB / 2.054 GB, free: 14.39 MB / 1.576 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/2.826, allocations: 8.625 kB / 2.054 GB, free: 14.38 MB / 1.576 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05667/2.883, allocations: 8.293 MB / 2.062 GB, free: 6.086 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1335/3.016, allocations: 61.9 MB / 2.123 GB, free: 8.883 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002474/3.019, allocations: 1.952 MB / 2.124 GB, free: 6.941 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01638/3.035, allocations: 2.648 MB / 2.127 GB, free: 4.309 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9304/3.965, allocations: 59.67 MB / 2.185 GB, free: 0.6362 GB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001472/3.967, allocations: 74.64 kB / 2.185 GB, free: 0.6362 GB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01272/3.98, allocations: 1.061 MB / 2.186 GB, free: 0.6354 GB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/3.981, allocations: 1.2 MB / 2.188 GB, free: 0.6353 GB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1112/4.093, allocations: 60.58 MB / 2.247 GB, free: 0.6102 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.3099/4.403, allocations: 216.8 MB / 2.458 GB, free: 405.9 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03983/4.442, allocations: 32.2 MB / 2.49 GB, free: 373.3 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03055/4.473, allocations: 23.79 MB / 2.513 GB, free: 349.5 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/4.475, allocations: 1.232 MB / 2.514 GB, free: 348.1 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03167/4.507, allocations: 20.09 MB / 2.534 GB, free: 328 MB / 1.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02138/4.528, allocations: 5.467 MB / 2.539 GB, free: 323 MB / 1.67 GB Notification: Performance of pre-optimization done (n=1527): time 3.796e-05/4.529, allocations: 0 / 2.539 GB, free: 323 MB / 1.67 GB Notification: Performance of matching and sorting (n=1551): time 0.1968/4.725, allocations: 99.34 MB / 2.636 GB, free: 223.7 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/4.726, allocations: 270.9 kB / 2.637 GB, free: 223.4 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0602/4.786, allocations: 30.01 MB / 2.666 GB, free: 193.6 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.005121/4.791, allocations: 337.7 kB / 2.666 GB, free: 193.2 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.02119/4.812, allocations: 15.63 MB / 2.681 GB, free: 177.6 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.008957/4.821, allocations: 5.866 MB / 2.687 GB, free: 171.8 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01646/4.838, allocations: 3.962 MB / 2.691 GB, free: 167.8 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/4.838, allocations: 301.1 kB / 2.691 GB, free: 167.5 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02445/4.862, allocations: 17.48 MB / 2.708 GB, free: 150 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02843/4.891, allocations: 21.96 MB / 2.73 GB, free: 126.6 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.055/4.946, allocations: 41.54 MB / 2.77 GB, free: 84 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.733e-05/4.946, allocations: 27.75 kB / 2.77 GB, free: 83.98 MB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 0.09264/5.038, allocations: 43.23 MB / 2.813 GB, free: 40.68 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/5.039, allocations: 99.39 kB / 2.813 GB, free: 40.57 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001995/5.039, allocations: 84 kB / 2.813 GB, free: 40.49 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/5.044, allocations: 1.282 MB / 2.814 GB, free: 39.21 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04134/5.085, allocations: 4.449 MB / 2.818 GB, free: 34.75 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/5.109, allocations: 15.43 MB / 2.833 GB, free: 19.03 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02218/5.132, allocations: 1.55 MB / 2.835 GB, free: 17.49 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004384/5.136, allocations: 0.7729 MB / 2.836 GB, free: 16.72 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.6904/5.826, allocations: 39.27 MB / 2.874 GB, free: 0.5988 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02825/5.855, allocations: 21.95 MB / 2.896 GB, free: 0.5895 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05742/5.912, allocations: 41.53 MB / 2.936 GB, free: 0.5738 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000108/5.912, allocations: 25.5 kB / 2.936 GB, free: 0.5738 GB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization_lambda0): time 0.07075/5.983, allocations: 43.24 MB / 2.978 GB, free: 0.5547 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/5.983, allocations: 99.34 kB / 2.978 GB, free: 0.5546 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/5.983, allocations: 87.94 kB / 2.979 GB, free: 0.5545 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/5.986, allocations: 1.289 MB / 2.98 GB, free: 0.5535 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01976/6.005, allocations: 4.424 MB / 2.984 GB, free: 0.55 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/6.018, allocations: 14.85 MB / 2.999 GB, free: 0.5354 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02219/6.04, allocations: 1.628 MB / 3 GB, free: 0.534 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004137/6.044, allocations: 0.769 MB / 3.001 GB, free: 0.5332 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.006209/6.05, allocations: 1.207 MB / 3.002 GB, free: 0.5321 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006958/6.057, allocations: 2.456 MB / 3.005 GB, free: 0.5309 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06972/6.127, allocations: 41.52 MB / 3.045 GB, free: 0.4904 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05132/6.178, allocations: 32.68 MB / 3.077 GB, free: 469.3 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-05/6.179, allocations: 0 / 3.077 GB, free: 469.3 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01983/6.198, allocations: 7.732 MB / 3.085 GB, free: 462.9 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008999/6.207, allocations: 439.8 kB / 3.085 GB, free: 462.5 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01874/6.226, allocations: 1.341 MB / 3.086 GB, free: 461.2 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004505/6.231, allocations: 0.8661 MB / 3.087 GB, free: 460.3 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06304/6.294, allocations: 41.56 MB / 3.128 GB, free: 419 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08028/6.374, allocations: 60.26 MB / 3.187 GB, free: 358.7 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02354/6.398, allocations: 18.58 MB / 3.205 GB, free: 340.1 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.04112/6.439, allocations: 22.19 MB / 3.226 GB, free: 318 MB / 1.67 GB Notification: Performance of Backend: time 1.924e-06/6.439, allocations: 0 / 3.226 GB, free: 318 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.08986/6.529, allocations: 46.06 MB / 3.271 GB, free: 272.2 MB / 1.67 GB Notification: Performance of SimCode: time 0.1758/6.705, allocations: 98.12 MB / 3.367 GB, free: 174.9 MB / 1.67 GB Notification: Performance of Templates: time 3.236/9.941, allocations: 0.7867 GB / 4.154 GB, free: 0.5975 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