Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 180.8 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 99.92 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.914e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2451, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.715/7.96, allocations: 2.464 GB / 3.349 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/7.96, allocations: 89.88 kB / 3.349 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.23/21.19, allocations: 3.241 GB / 6.59 GB, free: 59.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.984e-06/21.19, allocations: 0 / 6.59 GB, free: 59.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007256/21.2, allocations: 117.5 kB / 6.59 GB, free: 59.4 MB / 1.01 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.02317/21.22, allocations: 5.434 MB / 6.596 GB, free: 57.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/21.22, allocations: 12.2 kB / 6.596 GB, free: 57.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/21.23, allocations: 2.045 MB / 6.598 GB, free: 56.86 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/21.25, allocations: 4.181 MB / 6.602 GB, free: 56.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003218/21.25, allocations: 0.7762 MB / 6.603 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/21.25, allocations: 212 kB / 6.603 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01105/21.26, allocations: 3.623 MB / 6.606 GB, free: 56.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/21.28, allocations: 3.682 MB / 6.61 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/21.28, allocations: 3.125 kB / 6.61 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/21.28, allocations: 5.688 kB / 6.61 GB, free: 55.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/21.28, allocations: 149.3 kB / 6.61 GB, free: 55.74 MB / 1.01 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.04693/21.33, allocations: 19.33 MB / 6.629 GB, free: 47.58 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007548/21.33, allocations: 2.535 MB / 6.631 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/21.34, allocations: 1.392 MB / 6.633 GB, free: 47.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/21.34, allocations: 0.6941 MB / 6.633 GB, free: 46.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00442/21.34, allocations: 1.716 MB / 6.635 GB, free: 46.76 MB / 1.01 GB Notification: Performance of pre-optimization done (n=251): time 8.456e-06/21.34, allocations: 0.75 kB / 6.635 GB, free: 46.76 MB / 1.01 GB Notification: Performance of matching and sorting (n=251): time 0.01059/21.35, allocations: 3.073 MB / 6.638 GB, free: 46.48 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/21.35, allocations: 110.4 kB / 6.638 GB, free: 46.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007394/21.36, allocations: 2.456 MB / 6.641 GB, free: 46.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/21.36, allocations: 29.42 kB / 6.641 GB, free: 46.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/21.36, allocations: 1.849 MB / 6.643 GB, free: 45.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/21.37, allocations: 0.8029 MB / 6.643 GB, free: 44.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000877/21.37, allocations: 0 / 6.643 GB, free: 44.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003555/21.37, allocations: 431 kB / 6.644 GB, free: 44.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/21.37, allocations: 1.312 MB / 6.645 GB, free: 44.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/21.37, allocations: 2.108 MB / 6.647 GB, free: 43.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/21.38, allocations: 1.624 MB / 6.649 GB, free: 43.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/21.38, allocations: 4.344 kB / 6.649 GB, free: 43.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01354/21.39, allocations: 3.853 MB / 6.652 GB, free: 43.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001943/21.4, allocations: 6.078 MB / 6.658 GB, free: 36.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.369e-05/21.4, allocations: 13.22 kB / 6.658 GB, free: 36.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/21.4, allocations: 32.78 kB / 6.658 GB, free: 36.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007643/21.4, allocations: 1.235 MB / 6.66 GB, free: 36.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/21.41, allocations: 6.023 MB / 6.665 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008079/21.41, allocations: 0.7278 MB / 6.666 GB, free: 30.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/21.42, allocations: 167.5 kB / 6.666 GB, free: 30.76 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/21.42, allocations: 8.125 kB / 6.666 GB, free: 30.76 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/21.43, allocations: 3.406 MB / 6.67 GB, free: 30.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-05/21.43, allocations: 18.5 kB / 6.67 GB, free: 30.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.211e-05/21.43, allocations: 31.53 kB / 6.67 GB, free: 30.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/21.43, allocations: 1.123 MB / 6.671 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-05/21.43, allocations: 44.7 kB / 6.671 GB, free: 30.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/21.44, allocations: 0.6766 MB / 6.672 GB, free: 30.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/21.44, allocations: 168.4 kB / 6.672 GB, free: 30.45 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($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,hexCroUnm.flowRegime) * 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.002527/21.45, allocations: 195 kB / 6.672 GB, free: 30.28 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002501/21.45, allocations: 388.3 kB / 6.672 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/21.46, allocations: 3.579 MB / 6.676 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/21.46, allocations: 35.89 kB / 6.676 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/21.46, allocations: 3.328 kB / 6.676 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/21.46, allocations: 13.55 kB / 6.676 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/21.49, allocations: 7.619 MB / 6.683 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/21.49, allocations: 9.5 kB / 6.683 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005401/21.49, allocations: 0.911 MB / 6.684 GB, free: 29.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.79e-05/21.49, allocations: 18.27 kB / 6.684 GB, free: 29.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008256/21.49, allocations: 66.66 kB / 6.684 GB, free: 29.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/21.49, allocations: 5.946 MB / 6.69 GB, free: 23.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/21.49, allocations: 3.906 kB / 6.69 GB, free: 23.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/21.51, allocations: 4.015 MB / 6.694 GB, free: 21.83 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004056/21.51, allocations: 0.9629 MB / 6.695 GB, free: 21.49 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/21.51, allocations: 10.03 kB / 6.695 GB, free: 21.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006956/21.52, allocations: 0.5812 MB / 6.695 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007793/21.52, allocations: 201.7 kB / 6.696 GB, free: 21.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008687/21.52, allocations: 135.8 kB / 6.696 GB, free: 21.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.005151/21.53, allocations: 1.774 MB / 6.697 GB, free: 21.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.285e-06/21.53, allocations: 0 / 6.697 GB, free: 21.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01529/21.54, allocations: 2.633 MB / 6.7 GB, free: 20.93 MB / 1.01 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.01571/21.56, allocations: 6.968 MB / 6.707 GB, free: 16.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01632/21.57, allocations: 5.487 MB / 6.712 GB, free: 16.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/21.57, allocations: 7.219 kB / 6.712 GB, free: 16.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/21.58, allocations: 1.708 MB / 6.714 GB, free: 16.55 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01098/21.59, allocations: 1.495 MB / 6.715 GB, free: 16.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/21.61, allocations: 5.772 MB / 6.721 GB, free: 14.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/21.61, allocations: 2.47 MB / 6.723 GB, free: 13.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01329/21.63, allocations: 1.39 MB / 6.725 GB, free: 13.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/21.63, allocations: 308.4 kB / 6.725 GB, free: 13.6 MB / 1.01 GB Notification: Performance of SimCode: time 2.114e-06/21.63, allocations: 2.344 kB / 6.725 GB, free: 13.6 MB / 1.01 GB Notification: Performance of Templates: time 1.086/22.71, allocations: 97.98 MB / 6.821 GB, free: 100.8 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches