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.171/2.171, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001145/0.001145, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009186, allocations: 95.91 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.671e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.122/5.448, allocations: 2.188 GB / 3.394 GB, free: 136.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/5.448, allocations: 83.95 kB / 3.394 GB, free: 136.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 13.07/18.52, allocations: 3.376 GB / 6.769 GB, free: 108.8 MB / 1.292 GB Notification: Performance of FrontEnd: time 1.332e-06/18.52, allocations: 3.812 kB / 6.769 GB, free: 108.8 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0006646/18.52, allocations: 119.8 kB / 6.77 GB, free: 108.8 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.02567/18.54, allocations: 5.609 MB / 6.775 GB, free: 107.4 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/18.54, allocations: 11.75 kB / 6.775 GB, free: 107.4 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/18.56, allocations: 2.036 MB / 6.777 GB, free: 107.1 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/18.57, allocations: 4.255 MB / 6.781 GB, free: 106.6 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003019/18.57, allocations: 0.7771 MB / 6.782 GB, free: 106.6 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/18.57, allocations: 205.1 kB / 6.782 GB, free: 106.6 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008515/18.58, allocations: 3.512 MB / 6.786 GB, free: 106.5 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/18.59, allocations: 3.74 MB / 6.789 GB, free: 106.2 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/18.59, allocations: 1.281 kB / 6.789 GB, free: 106.2 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/18.6, allocations: 8.594 kB / 6.789 GB, free: 106.2 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/18.6, allocations: 154.5 kB / 6.789 GB, free: 106.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.04908/18.65, allocations: 19.37 MB / 6.808 GB, free: 98.17 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005761/18.65, allocations: 2.527 MB / 6.811 GB, free: 98.11 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/18.65, allocations: 1.395 MB / 6.812 GB, free: 98.1 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/18.65, allocations: 0.6982 MB / 6.813 GB, free: 97.44 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003534/18.66, allocations: 1.714 MB / 6.815 GB, free: 97.35 MB / 1.292 GB Notification: Performance of pre-optimization done (n=251): time 6.753e-06/18.66, allocations: 1.531 kB / 6.815 GB, free: 97.35 MB / 1.292 GB Notification: Performance of matching and sorting (n=251): time 0.008799/18.67, allocations: 3.081 MB / 6.818 GB, free: 97.06 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/18.67, allocations: 103.1 kB / 6.818 GB, free: 96.96 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/18.67, allocations: 2.455 MB / 6.82 GB, free: 96.68 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008193/18.67, allocations: 32.45 kB / 6.82 GB, free: 96.65 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/18.68, allocations: 1.834 MB / 6.822 GB, free: 96.08 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/18.68, allocations: 0.8098 MB / 6.823 GB, free: 95.53 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/18.68, allocations: 1.188 kB / 6.823 GB, free: 95.53 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002588/18.68, allocations: 424.2 kB / 6.823 GB, free: 95.22 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/18.68, allocations: 1.309 MB / 6.824 GB, free: 95.21 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/18.68, allocations: 2.113 MB / 6.826 GB, free: 94.39 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/18.69, allocations: 1.622 MB / 6.828 GB, free: 94.34 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/18.69, allocations: 5.812 kB / 6.828 GB, free: 94.34 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01033/18.7, allocations: 3.848 MB / 6.832 GB, free: 94.03 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002124/18.7, allocations: 6.08 MB / 6.838 GB, free: 87.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/18.7, allocations: 16.12 kB / 6.838 GB, free: 87.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/18.7, allocations: 31.03 kB / 6.838 GB, free: 87.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00675/18.71, allocations: 1.228 MB / 6.839 GB, free: 87.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/18.71, allocations: 6.029 MB / 6.845 GB, free: 81.75 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/18.72, allocations: 0.7387 MB / 6.846 GB, free: 81.61 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008809/18.72, allocations: 172.4 kB / 6.846 GB, free: 81.61 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/18.72, allocations: 4.781 kB / 6.846 GB, free: 81.61 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008343/18.73, allocations: 3.41 MB / 6.849 GB, free: 81.52 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/18.73, allocations: 13.66 kB / 6.849 GB, free: 81.52 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.312e-05/18.73, allocations: 31.94 kB / 6.849 GB, free: 81.52 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005081/18.73, allocations: 1.125 MB / 6.85 GB, free: 81.52 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.46e-05/18.73, allocations: 40.03 kB / 6.85 GB, free: 81.51 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007072/18.74, allocations: 0.6948 MB / 6.851 GB, free: 81.41 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/18.74, allocations: 167.4 kB / 6.851 GB, free: 81.41 MB / 1.292 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.002102/18.74, allocations: 181.9 kB / 6.851 GB, free: 81.29 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003025/18.75, allocations: 396.5 kB / 6.852 GB, free: 81.09 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/18.76, allocations: 3.585 MB / 6.855 GB, free: 80.87 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/18.76, allocations: 24.34 kB / 6.855 GB, free: 80.87 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/18.76, allocations: 4.594 kB / 6.855 GB, free: 80.87 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.607e-05/18.76, allocations: 20.05 kB / 6.855 GB, free: 80.87 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02224/18.78, allocations: 7.631 MB / 6.863 GB, free: 80.18 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/18.78, allocations: 3.875 kB / 6.863 GB, free: 80.18 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004519/18.79, allocations: 0.9153 MB / 6.864 GB, free: 80.18 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/18.79, allocations: 14.91 kB / 6.864 GB, free: 80.18 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/18.79, allocations: 60.77 kB / 6.864 GB, free: 80.18 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/18.79, allocations: 5.945 MB / 6.869 GB, free: 74.32 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/18.79, allocations: 11.44 kB / 6.869 GB, free: 74.32 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/18.8, allocations: 4.01 MB / 6.873 GB, free: 73.03 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/18.8, allocations: 0.9664 MB / 6.874 GB, free: 72.68 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/18.8, allocations: 11.91 kB / 6.874 GB, free: 72.68 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006034/18.81, allocations: 0.5824 MB / 6.875 GB, free: 72.67 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/18.81, allocations: 201.2 kB / 6.875 GB, free: 72.66 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005421/18.81, allocations: 138.5 kB / 6.875 GB, free: 72.66 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.004418/18.81, allocations: 1.773 MB / 6.877 GB, free: 72.48 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.61e-07/18.81, allocations: 0 / 6.877 GB, free: 72.48 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01388/18.83, allocations: 2.637 MB / 6.879 GB, free: 72.18 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.01192/18.84, allocations: 6.958 MB / 6.886 GB, free: 68.84 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01398/18.85, allocations: 5.492 MB / 6.892 GB, free: 68.62 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/18.85, allocations: 3.844 kB / 6.892 GB, free: 68.62 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/18.86, allocations: 1.703 MB / 6.893 GB, free: 68.62 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/18.87, allocations: 1.495 MB / 6.895 GB, free: 68.59 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/18.89, allocations: 5.87 MB / 6.9 GB, free: 67.05 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003911/18.89, allocations: 2.48 MB / 6.903 GB, free: 66.26 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01231/18.9, allocations: 1.39 MB / 6.904 GB, free: 66.23 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/18.9, allocations: 306.2 kB / 6.905 GB, free: 66.22 MB / 1.292 GB Notification: Performance of SimCode: time 1.533e-06/18.9, allocations: 0 / 6.905 GB, free: 66.22 MB / 1.292 GB Notification: Performance of Templates: time 0.154/19.06, allocations: 98.15 MB / 7 GB, free: 60.23 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