Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001528/0.001528, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001753/0.001753, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8216, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow): time 0.4448/1.266, allocations: 396.6 MB / 1.476 GB, free: 412 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03681/1.303, allocations: 27.18 MB / 1.502 GB, free: 5.133 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004495/1.308, allocations: 123.3 kB / 1.503 GB, free: 5.012 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005508/1.313, allocations: 1.946 MB / 1.504 GB, free: 3.055 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.327, allocations: 5.26 MB / 1.51 GB, free: 13.78 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008505/1.335, allocations: 3.354 MB / 1.513 GB, free: 10.43 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 1.509/2.844, allocations: 113.1 MB / 1.623 GB, free: 105.7 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1061/2.95, allocations: 75.39 MB / 1.697 GB, free: 94.23 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06851/3.019, allocations: 41.42 MB / 1.737 GB, free: 83.59 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0594/3.078, allocations: 35.43 MB / 1.772 GB, free: 61.21 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.02352/3.102, allocations: 6.242 MB / 1.778 GB, free: 54.97 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03818/3.14, allocations: 10.28 MB / 1.788 GB, free: 46.12 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.02978/3.17, allocations: 15.58 MB / 1.803 GB, free: 32.11 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.05285/3.223, allocations: 27.36 MB / 1.83 GB, free: 5.148 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.115/3.338, allocations: 97.01 MB / 1.925 GB, free: 5.789 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/3.338, allocations: 4 kB / 1.925 GB, free: 5.785 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.653e-06/3.338, allocations: 4 kB / 1.925 GB, free: 5.781 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.00218/3.34, allocations: 0 / 1.925 GB, free: 5.781 MB / 1.404 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.1668/3.507, allocations: 50.64 MB / 1.974 GB, free: 3.473 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/3.507, allocations: 12.03 kB / 1.974 GB, free: 3.461 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05277/3.56, allocations: 8.102 MB / 1.982 GB, free: 11.34 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1308/3.69, allocations: 61.65 MB / 2.042 GB, free: 15.13 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002047/3.692, allocations: 1.95 MB / 2.044 GB, free: 13.19 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0126/3.705, allocations: 2.646 MB / 2.047 GB, free: 10.56 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1539/3.859, allocations: 59.67 MB / 2.105 GB, free: 14.52 MB / 1.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001532/3.86, allocations: 67.84 kB / 2.105 GB, free: 14.47 MB / 1.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01428/3.875, allocations: 1.071 MB / 2.106 GB, free: 13.42 MB / 1.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001501/3.876, allocations: 1.198 MB / 2.107 GB, free: 12.22 MB / 1.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.168/5.045, allocations: 60.58 MB / 2.167 GB, free: 0.6297 GB / 1.639 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.3342/5.379, allocations: 216.5 MB / 2.378 GB, free: 0.4988 GB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04067/5.419, allocations: 32.21 MB / 2.409 GB, free: 485 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03166/5.451, allocations: 23.78 MB / 2.433 GB, free: 461.3 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/5.453, allocations: 1.236 MB / 2.434 GB, free: 459.9 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0311/5.485, allocations: 20.09 MB / 2.454 GB, free: 439.7 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0203/5.505, allocations: 5.446 MB / 2.459 GB, free: 434.8 MB / 1.639 GB Notification: Performance of pre-optimization done (n=1527): time 3.647e-05/5.505, allocations: 0 / 2.459 GB, free: 434.8 MB / 1.639 GB Notification: Performance of matching and sorting (n=1551): time 0.172/5.677, allocations: 98.82 MB / 2.555 GB, free: 335.6 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/5.677, allocations: 274.9 kB / 2.556 GB, free: 335.3 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05288/5.73, allocations: 30.01 MB / 2.585 GB, free: 305.5 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.004539/5.735, allocations: 337.7 kB / 2.585 GB, free: 305.1 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.01995/5.755, allocations: 15.34 MB / 2.6 GB, free: 289.7 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.009553/5.764, allocations: 5.603 MB / 2.606 GB, free: 284.2 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01576/5.78, allocations: 3.949 MB / 2.61 GB, free: 280.2 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/5.78, allocations: 301.1 kB / 2.61 GB, free: 279.9 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02424/5.804, allocations: 17.49 MB / 2.627 GB, free: 262.4 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02813/5.833, allocations: 21.95 MB / 2.648 GB, free: 238.9 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05672/5.889, allocations: 41.55 MB / 2.689 GB, free: 196.1 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/5.89, allocations: 24 kB / 2.689 GB, free: 196.1 MB / 1.639 GB Notification: Performance of matching and sorting (n=2051) (initialization): time 0.06938/5.959, allocations: 43.11 MB / 2.731 GB, free: 152.8 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/5.959, allocations: 111.6 kB / 2.731 GB, free: 152.7 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/5.959, allocations: 83.98 kB / 2.731 GB, free: 152.6 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/5.962, allocations: 1.277 MB / 2.732 GB, free: 151.3 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02194/5.984, allocations: 4.45 MB / 2.737 GB, free: 146.9 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/5.998, allocations: 15.42 MB / 2.752 GB, free: 131.2 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02759/6.025, allocations: 1.542 MB / 2.753 GB, free: 129.6 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004968/6.03, allocations: 0.7837 MB / 2.754 GB, free: 128.9 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05263/6.083, allocations: 39.26 MB / 2.792 GB, free: 89.55 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02845/6.111, allocations: 21.94 MB / 2.814 GB, free: 66.07 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05287/6.164, allocations: 41.54 MB / 2.854 GB, free: 23.28 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-05/6.164, allocations: 27.94 kB / 2.855 GB, free: 23.25 MB / 1.639 GB Notification: Performance of matching and sorting (n=2051) (initialization_lambda0): time 1.203/7.367, allocations: 43.12 MB / 2.897 GB, free: 0.5987 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/7.367, allocations: 106.7 kB / 2.897 GB, free: 0.5987 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/7.367, allocations: 81.56 kB / 2.897 GB, free: 0.5987 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/7.37, allocations: 1.278 MB / 2.898 GB, free: 0.5986 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02343/7.394, allocations: 4.437 MB / 2.902 GB, free: 0.5986 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/7.411, allocations: 14.81 MB / 2.917 GB, free: 0.5917 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02453/7.435, allocations: 1.617 MB / 2.918 GB, free: 0.5915 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005246/7.441, allocations: 0.7713 MB / 2.919 GB, free: 0.5913 GB / 1.639 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.008673/7.449, allocations: 1.216 MB / 2.92 GB, free: 0.5904 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008835/7.458, allocations: 2.339 MB / 2.923 GB, free: 0.5904 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07689/7.535, allocations: 41.51 MB / 2.963 GB, free: 0.5773 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05348/7.589, allocations: 32.68 MB / 2.995 GB, free: 0.5669 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.905e-05/7.589, allocations: 0 / 2.995 GB, free: 0.5669 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01889/7.608, allocations: 7.615 MB / 3.003 GB, free: 0.5649 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008708/7.616, allocations: 445.1 kB / 3.003 GB, free: 0.5647 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02059/7.637, allocations: 1.328 MB / 3.004 GB, free: 0.5645 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004691/7.642, allocations: 0.8806 MB / 3.005 GB, free: 0.5644 GB / 1.639 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07181/7.714, allocations: 41.56 MB / 3.046 GB, free: 0.5396 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08066/7.794, allocations: 60.13 MB / 3.104 GB, free: 493.5 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02142/7.816, allocations: 18.58 MB / 3.123 GB, free: 474.9 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.04042/7.856, allocations: 22.19 MB / 3.144 GB, free: 452.8 MB / 1.639 GB Notification: Performance of Backend: time 9.42e-07/7.856, allocations: 0 / 3.144 GB, free: 452.8 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.08911/7.945, allocations: 46.03 MB / 3.189 GB, free: 407.1 MB / 1.639 GB Notification: Performance of SimCode: time 0.1699/8.115, allocations: 97.13 MB / 3.284 GB, free: 310.9 MB / 1.639 GB Notification: Performance of Templates: time 1.478/9.593, allocations: 0.7867 GB / 4.071 GB, free: 158.7 MB / 1.639 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches