Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001299/0.001299, allocations: 110.6 kB / 16.42 MB, free: 6.449 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.001234/0.001234, allocations: 189.7 kB / 17.35 MB, free: 5.734 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7911, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow): time 1.196/1.987, allocations: 396.6 MB / 1.596 GB, free: 94.96 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03325/2.021, allocations: 27.19 MB / 1.622 GB, free: 94.81 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005484/2.026, allocations: 119.8 kB / 1.622 GB, free: 94.81 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005642/2.032, allocations: 1.942 MB / 1.624 GB, free: 94.79 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01385/2.046, allocations: 5.264 MB / 1.629 GB, free: 94.62 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009311/2.055, allocations: 3.346 MB / 1.633 GB, free: 94.54 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1327/2.188, allocations: 113.1 MB / 1.743 GB, free: 36.86 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1063/2.294, allocations: 75.39 MB / 1.817 GB, free: 10.13 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07936/2.373, allocations: 41.43 MB / 1.857 GB, free: 2.473 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06339/2.437, allocations: 35.43 MB / 1.892 GB, free: 1.422 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.02248/2.459, allocations: 6.238 MB / 1.898 GB, free: 11.18 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04009/2.5, allocations: 10.28 MB / 1.908 GB, free: 1.27 MB / 1.404 GB Notification: Performance of NFScalarize.scalarize: time 0.03262/2.532, allocations: 15.58 MB / 1.923 GB, free: 1.898 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.06671/2.599, allocations: 27.36 MB / 1.95 GB, free: 6.695 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.1226/2.722, allocations: 97.02 MB / 2.045 GB, free: 7.105 MB / 1.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/2.722, allocations: 0 / 2.045 GB, free: 7.105 MB / 1.545 GB Notification: Performance of FrontEnd: time 1.613e-06/2.722, allocations: 0 / 2.045 GB, free: 7.105 MB / 1.545 GB Notification: Performance of Transformations before backend: time 0.002424/2.724, allocations: 0 / 2.045 GB, free: 7.105 MB / 1.545 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.1698/2.894, allocations: 50.64 MB / 2.094 GB, free: 4.637 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/2.894, allocations: 8.031 kB / 2.094 GB, free: 4.629 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05464/2.949, allocations: 8.102 MB / 2.102 GB, free: 12.51 MB / 1.607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.143/3.092, allocations: 61.67 MB / 2.162 GB, free: 15.51 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002248/3.094, allocations: 1.949 MB / 2.164 GB, free: 13.57 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01518/3.109, allocations: 2.652 MB / 2.167 GB, free: 10.94 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.527/4.636, allocations: 59.68 MB / 2.225 GB, free: 0.5925 GB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001582/4.638, allocations: 66.95 kB / 2.225 GB, free: 0.5925 GB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0122/4.65, allocations: 1.066 MB / 2.226 GB, free: 0.5917 GB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/4.651, allocations: 1.2 MB / 2.227 GB, free: 0.5915 GB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1188/4.77, allocations: 60.58 MB / 2.286 GB, free: 0.5442 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.3373/5.107, allocations: 216.5 MB / 2.498 GB, free: 335.6 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04643/5.154, allocations: 32.2 MB / 2.529 GB, free: 303 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0339/5.188, allocations: 23.77 MB / 2.552 GB, free: 279.2 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/5.19, allocations: 1.238 MB / 2.554 GB, free: 277.8 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03448/5.225, allocations: 20.09 MB / 2.573 GB, free: 257.7 MB / 1.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02071/5.245, allocations: 5.449 MB / 2.579 GB, free: 252.7 MB / 1.67 GB Notification: Performance of pre-optimization done (n=1527): time 3.857e-05/5.246, allocations: 0 / 2.579 GB, free: 252.7 MB / 1.67 GB Notification: Performance of matching and sorting (n=1551): time 0.1994/5.445, allocations: 98.84 MB / 2.675 GB, free: 153.7 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/5.445, allocations: 274.9 kB / 2.675 GB, free: 153.4 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0659/5.511, allocations: 29.99 MB / 2.705 GB, free: 123.5 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.005761/5.517, allocations: 337.7 kB / 2.705 GB, free: 123.2 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0231/5.54, allocations: 15.34 MB / 2.72 GB, free: 107.8 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.009965/5.55, allocations: 5.601 MB / 2.725 GB, free: 102.2 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01807/5.568, allocations: 3.953 MB / 2.729 GB, free: 98.27 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/5.568, allocations: 301.1 kB / 2.73 GB, free: 97.98 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02665/5.595, allocations: 17.47 MB / 2.747 GB, free: 80.48 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03379/5.629, allocations: 21.95 MB / 2.768 GB, free: 57.09 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06208/5.691, allocations: 41.55 MB / 2.809 GB, free: 14.47 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/5.691, allocations: 20 kB / 2.809 GB, free: 14.45 MB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 1.529/7.22, allocations: 43.11 MB / 2.851 GB, free: 0.5522 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/7.22, allocations: 106.8 kB / 2.851 GB, free: 0.5521 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/7.22, allocations: 78.44 kB / 2.851 GB, free: 0.5521 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/7.223, allocations: 1.29 MB / 2.852 GB, free: 0.5519 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02246/7.245, allocations: 4.447 MB / 2.857 GB, free: 0.5516 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/7.261, allocations: 15.41 MB / 2.872 GB, free: 0.5435 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02601/7.287, allocations: 1.552 MB / 2.873 GB, free: 0.5433 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006131/7.293, allocations: 0.7707 MB / 2.874 GB, free: 0.5431 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06886/7.362, allocations: 39.27 MB / 2.912 GB, free: 0.5322 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03273/7.395, allocations: 21.95 MB / 2.934 GB, free: 0.5222 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05845/7.454, allocations: 41.53 MB / 2.974 GB, free: 498.9 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001266/7.454, allocations: 24 kB / 2.974 GB, free: 498.9 MB / 1.67 GB Notification: Performance of matching and sorting (n=2051) (initialization_lambda0): time 0.07948/7.533, allocations: 43.13 MB / 3.016 GB, free: 456.9 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/7.533, allocations: 107.4 kB / 3.017 GB, free: 456.8 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001531/7.534, allocations: 80 kB / 3.017 GB, free: 456.7 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/7.536, allocations: 1.284 MB / 3.018 GB, free: 455.4 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02155/7.558, allocations: 4.437 MB / 3.022 GB, free: 451 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/7.572, allocations: 14.82 MB / 3.037 GB, free: 436.1 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02819/7.6, allocations: 1.616 MB / 3.038 GB, free: 434.5 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005237/7.606, allocations: 0.7729 MB / 3.039 GB, free: 433.8 MB / 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.01034/7.616, allocations: 1.215 MB / 3.04 GB, free: 432.6 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01051/7.626, allocations: 2.336 MB / 3.042 GB, free: 431.4 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07993/7.706, allocations: 41.51 MB / 3.083 GB, free: 389.9 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0522/7.759, allocations: 32.68 MB / 3.115 GB, free: 357.1 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.441e-05/7.759, allocations: 0 / 3.115 GB, free: 357.1 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01934/7.778, allocations: 7.622 MB / 3.122 GB, free: 349.5 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01053/7.789, allocations: 439.8 kB / 3.123 GB, free: 349.1 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02099/7.81, allocations: 1.329 MB / 3.124 GB, free: 347.8 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005141/7.815, allocations: 0.8778 MB / 3.125 GB, free: 346.9 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07257/7.887, allocations: 41.56 MB / 3.166 GB, free: 305.5 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08743/7.975, allocations: 60.14 MB / 3.224 GB, free: 245.2 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02196/7.997, allocations: 18.58 MB / 3.242 GB, free: 226.6 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03852/8.035, allocations: 22.18 MB / 3.264 GB, free: 204.5 MB / 1.67 GB Notification: Performance of Backend: time 1.563e-06/8.036, allocations: 0 / 3.264 GB, free: 204.5 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.09319/8.129, allocations: 46.03 MB / 3.309 GB, free: 158.8 MB / 1.67 GB Notification: Performance of SimCode: time 0.1944/8.323, allocations: 97.13 MB / 3.404 GB, free: 62.52 MB / 1.67 GB Notification: Performance of Templates: time 3.016/11.34, allocations: 0.7867 GB / 4.19 GB, free: 499.8 MB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches