Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001196/0.001196, allocations: 184.8 kB / 492.3 MB, free: 0.6133 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.767/1.767, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000908/0.0009084, allocations: 91.16 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.51e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3356, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.617/6.953, allocations: 2.188 GB / 3.401 GB, free: 89.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/6.953, allocations: 79.52 kB / 3.401 GB, free: 89.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.71/21.67, allocations: 3.406 GB / 6.806 GB, free: 105.4 MB / 1.292 GB Notification: Performance of FrontEnd: time 4.399e-06/21.67, allocations: 4.641 kB / 6.806 GB, free: 105.4 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.001299/21.67, allocations: 116.4 kB / 6.806 GB, free: 105.3 MB / 1.292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.03696/21.71, allocations: 5.61 MB / 6.812 GB, free: 103.5 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/21.71, allocations: 7.438 kB / 6.812 GB, free: 103.5 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/21.72, allocations: 2.044 MB / 6.814 GB, free: 103.2 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01835/21.74, allocations: 4.257 MB / 6.818 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003537/21.74, allocations: 0.904 MB / 6.819 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/21.74, allocations: 349 kB / 6.819 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/21.76, allocations: 4.174 MB / 6.823 GB, free: 102.2 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/21.76, allocations: 5.469 kB / 6.823 GB, free: 102.2 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001745/21.76, allocations: 128.7 kB / 6.824 GB, free: 102.2 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/21.76, allocations: 151.6 kB / 6.824 GB, free: 102.2 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/21.77, allocations: 3.886 MB / 6.827 GB, free: 102.2 MB / 1.292 GB Warning: The model contains alias variables with conflicting start and/or 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.05624/21.83, allocations: 20.08 MB / 6.847 GB, free: 93.93 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/21.84, allocations: 2.63 MB / 6.85 GB, free: 93.85 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/21.84, allocations: 1.456 MB / 6.851 GB, free: 93.84 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/21.84, allocations: 0.6905 MB / 6.852 GB, free: 93.18 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004583/21.85, allocations: 1.8 MB / 6.854 GB, free: 93.08 MB / 1.292 GB Notification: Performance of pre-optimization done (n=251): time 8.887e-06/21.85, allocations: 0 / 6.854 GB, free: 93.08 MB / 1.292 GB Notification: Performance of matching and sorting (n=251): time 0.009966/21.86, allocations: 3.036 MB / 6.856 GB, free: 92.78 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/21.86, allocations: 105.1 kB / 6.857 GB, free: 92.68 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/21.87, allocations: 3.128 MB / 6.86 GB, free: 92.35 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002155/21.87, allocations: 88.08 kB / 6.86 GB, free: 92.32 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004515/21.87, allocations: 1.849 MB / 6.862 GB, free: 91.8 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002362/21.88, allocations: 0.8423 MB / 6.862 GB, free: 91.25 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/21.88, allocations: 62.31 kB / 6.862 GB, free: 91.25 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0005537/21.88, allocations: 433 kB / 6.863 GB, free: 90.93 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004426/21.88, allocations: 1.364 MB / 6.864 GB, free: 90.93 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/21.89, allocations: 2.142 MB / 6.866 GB, free: 90.17 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/21.89, allocations: 1.491 MB / 6.868 GB, free: 90.08 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/21.89, allocations: 4.375 kB / 6.868 GB, free: 90.08 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01246/21.91, allocations: 3.934 MB / 6.872 GB, free: 89.72 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001642/21.91, allocations: 5.241 MB / 6.877 GB, free: 84.32 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/21.91, allocations: 9.75 kB / 6.877 GB, free: 84.32 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.873e-05/21.91, allocations: 30.28 kB / 6.877 GB, free: 84.32 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008503/21.92, allocations: 1.206 MB / 6.878 GB, free: 84.32 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/21.92, allocations: 5.97 MB / 6.884 GB, free: 78.47 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/21.93, allocations: 0.8722 MB / 6.885 GB, free: 78.28 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/21.93, allocations: 170.9 kB / 6.885 GB, free: 78.28 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/21.93, allocations: 5.594 kB / 6.885 GB, free: 78.28 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01192/21.94, allocations: 3.529 MB / 6.888 GB, free: 78.16 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.93e-05/21.95, allocations: 12.84 kB / 6.888 GB, free: 78.16 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.193e-05/21.95, allocations: 29.05 kB / 6.888 GB, free: 78.16 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/21.95, allocations: 1.127 MB / 6.889 GB, free: 78.16 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.884e-05/21.95, allocations: 31.91 kB / 6.889 GB, free: 78.16 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008451/21.96, allocations: 0.8292 MB / 6.89 GB, free: 78.01 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/21.96, allocations: 163.9 kB / 6.89 GB, free: 78.01 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002506/21.96, allocations: 293.7 kB / 6.891 GB, free: 77.89 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002693/21.97, allocations: 436.8 kB / 6.891 GB, free: 77.66 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/21.98, allocations: 3.637 MB / 6.895 GB, free: 77.43 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/21.98, allocations: 27.28 kB / 6.895 GB, free: 77.43 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/21.98, allocations: 0 / 6.895 GB, free: 77.43 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/21.98, allocations: 13.97 kB / 6.895 GB, free: 77.43 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/22.01, allocations: 8.103 MB / 6.903 GB, free: 76.69 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/22.01, allocations: 8.031 kB / 6.903 GB, free: 76.69 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005219/22.01, allocations: 0.9204 MB / 6.903 GB, free: 76.69 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.717e-05/22.01, allocations: 14.72 kB / 6.903 GB, free: 76.69 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007684/22.01, allocations: 91.38 kB / 6.904 GB, free: 76.69 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/22.02, allocations: 5.931 MB / 6.909 GB, free: 70.84 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/22.02, allocations: 5 kB / 6.909 GB, free: 70.84 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/22.03, allocations: 4.075 MB / 6.913 GB, free: 69.45 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/22.03, allocations: 1.021 MB / 6.914 GB, free: 69.08 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/22.03, allocations: 50.16 kB / 6.914 GB, free: 69.08 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007541/22.04, allocations: 0.6347 MB / 6.915 GB, free: 69.07 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008773/22.04, allocations: 203.3 kB / 6.915 GB, free: 69.06 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009021/22.04, allocations: 133.8 kB / 6.915 GB, free: 69.06 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.007268/22.05, allocations: 2.342 MB / 6.918 GB, free: 68.86 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.31e-07/22.05, allocations: 0 / 6.918 GB, free: 68.86 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01787/22.07, allocations: 2.838 MB / 6.92 GB, free: 68.63 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01455/22.08, allocations: 6.52 MB / 6.927 GB, free: 65.23 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01768/22.1, allocations: 5.725 MB / 6.932 GB, free: 64.99 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/22.1, allocations: 3.094 kB / 6.932 GB, free: 64.99 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.005517/22.11, allocations: 1.782 MB / 6.934 GB, free: 64.97 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01581/22.12, allocations: 1.991 MB / 6.936 GB, free: 64.92 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/22.14, allocations: 6.11 MB / 6.942 GB, free: 63.37 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004355/22.15, allocations: 2.487 MB / 6.944 GB, free: 62.58 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01176/22.16, allocations: 1.583 MB / 6.946 GB, free: 62.5 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/22.16, allocations: 324.8 kB / 6.946 GB, free: 62.49 MB / 1.292 GB Notification: Performance of SimCode: time 1.783e-06/22.16, allocations: 0 / 6.946 GB, free: 62.49 MB / 1.292 GB Notification: Performance of Templates: time 0.2541/22.42, allocations: 152.4 MB / 7.095 GB, free: 47.52 MB / 1.292 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches