Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00154/0.00154, allocations: 187.9 kB / 0.4901 GB, free: 2.305 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.62/1.62, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001003/0.001003, allocations: 92.38 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 10.39 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.292/6.629, allocations: 2.189 GB / 3.419 GB, free: 200.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/6.629, allocations: 89.59 kB / 3.419 GB, free: 200.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 13.5/20.13, allocations: 3.411 GB / 6.83 GB, free: 2.883 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.883e-06/20.13, allocations: 0 / 6.83 GB, free: 2.883 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.0007072/20.13, allocations: 120 kB / 6.83 GB, free: 2.766 MB / 1.276 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.02848/20.16, allocations: 6.439 MB / 6.836 GB, free: 12.24 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/20.16, allocations: 12.02 kB / 6.836 GB, free: 12.23 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003036/20.16, allocations: 435 kB / 6.837 GB, free: 11.79 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/20.18, allocations: 2.046 MB / 6.839 GB, free: 9.734 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/20.19, allocations: 4.3 MB / 6.843 GB, free: 5.379 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003386/20.2, allocations: 0.9011 MB / 6.844 GB, free: 4.473 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/20.2, allocations: 348 kB / 6.844 GB, free: 4.133 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/20.21, allocations: 4.89 MB / 6.849 GB, free: 15.12 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/20.21, allocations: 0 / 6.849 GB, free: 15.12 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005393/20.21, allocations: 128 kB / 6.849 GB, free: 15 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/20.21, allocations: 154 kB / 6.849 GB, free: 14.85 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/20.23, allocations: 5.255 MB / 6.854 GB, free: 9.582 MB / 1.307 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 1.149/21.38, allocations: 20.08 MB / 6.874 GB, free: 104.6 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/21.39, allocations: 4.087 MB / 6.878 GB, free: 104.5 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/21.39, allocations: 0.6958 MB / 6.879 GB, free: 103.9 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007918/21.4, allocations: 2.467 MB / 6.881 GB, free: 103.8 MB / 1.307 GB Notification: Performance of pre-optimization done (n=247): time 5.641e-06/21.4, allocations: 0 / 6.881 GB, free: 103.8 MB / 1.307 GB Notification: Performance of matching and sorting (n=247): time 0.02133/21.42, allocations: 6.205 MB / 6.887 GB, free: 103.6 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/21.42, allocations: 108 kB / 6.887 GB, free: 103.5 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008038/21.43, allocations: 3.195 MB / 6.89 GB, free: 103.2 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.00168/21.43, allocations: 95.98 kB / 6.89 GB, free: 103.2 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.002619/21.44, allocations: 1.845 MB / 6.892 GB, free: 102.8 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/21.44, allocations: 0.8365 MB / 6.893 GB, free: 102.4 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/21.44, allocations: 64 kB / 6.893 GB, free: 102.4 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.000271/21.44, allocations: 425 kB / 6.893 GB, free: 102.1 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005942/21.44, allocations: 2.062 MB / 6.895 GB, free: 102.1 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006337/21.45, allocations: 2.839 MB / 6.898 GB, free: 101.3 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006139/21.46, allocations: 2.201 MB / 6.9 GB, free: 101.2 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/21.46, allocations: 2.719 kB / 6.9 GB, free: 101.2 MB / 1.307 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01479/21.47, allocations: 5.331 MB / 6.906 GB, free: 100.9 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.00131/21.47, allocations: 5.147 MB / 6.911 GB, free: 95.57 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/21.47, allocations: 13.59 kB / 6.911 GB, free: 95.57 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-05/21.47, allocations: 25.5 kB / 6.911 GB, free: 95.57 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/21.48, allocations: 1.209 MB / 6.912 GB, free: 95.57 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/21.48, allocations: 5.976 MB / 6.918 GB, free: 89.72 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008435/21.49, allocations: 0.8721 MB / 6.919 GB, free: 89.62 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/21.49, allocations: 169.7 kB / 6.919 GB, free: 89.62 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/21.49, allocations: 3.812 kB / 6.919 GB, free: 89.62 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/21.51, allocations: 4.934 MB / 6.923 GB, free: 89.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/21.51, allocations: 17.34 kB / 6.924 GB, free: 89.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/21.51, allocations: 24.84 kB / 6.924 GB, free: 89.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/21.51, allocations: 1.126 MB / 6.925 GB, free: 89.5 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.868e-05/21.51, allocations: 31.33 kB / 6.925 GB, free: 89.5 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007393/21.52, allocations: 0.8259 MB / 6.925 GB, free: 89.42 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007627/21.52, allocations: 168.1 kB / 6.926 GB, free: 89.42 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked 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.003728/21.52, allocations: 0.9251 MB / 6.927 GB, free: 89.23 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001832/21.53, allocations: 438.4 kB / 6.927 GB, free: 89 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/21.54, allocations: 4.964 MB / 6.932 GB, free: 88.8 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/21.54, allocations: 27.62 kB / 6.932 GB, free: 88.8 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/21.54, allocations: 0.6562 kB / 6.932 GB, free: 88.8 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/21.54, allocations: 16.62 kB / 6.932 GB, free: 88.8 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/21.56, allocations: 9.424 MB / 6.941 GB, free: 88.1 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/21.56, allocations: 3.812 kB / 6.941 GB, free: 88.1 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006053/21.57, allocations: 0.9117 MB / 6.942 GB, free: 88.1 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.849e-05/21.57, allocations: 20 kB / 6.942 GB, free: 88.1 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/21.57, allocations: 93.78 kB / 6.942 GB, free: 88.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/21.57, allocations: 5.933 MB / 6.948 GB, free: 82.25 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/21.57, allocations: 13.16 kB / 6.948 GB, free: 82.25 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/21.59, allocations: 5.411 MB / 6.953 GB, free: 80.85 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005373/21.59, allocations: 1.029 MB / 6.954 GB, free: 80.52 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/21.59, allocations: 52.81 kB / 6.954 GB, free: 80.52 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007286/21.6, allocations: 0.659 MB / 6.955 GB, free: 80.51 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/21.6, allocations: 196.2 kB / 6.955 GB, free: 80.5 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/21.6, allocations: 136.3 kB / 6.955 GB, free: 80.5 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.007185/21.61, allocations: 2.402 MB / 6.958 GB, free: 80.32 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.61e-07/21.61, allocations: 0.9375 kB / 6.958 GB, free: 80.32 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01635/21.63, allocations: 2.844 MB / 6.96 GB, free: 80.25 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * 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.03083/21.66, allocations: 13.37 MB / 6.973 GB, free: 74.29 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.02409/21.68, allocations: 7.649 MB / 6.981 GB, free: 74.07 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/21.68, allocations: 2.594 kB / 6.981 GB, free: 74.07 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.006974/21.69, allocations: 2.404 MB / 6.983 GB, free: 74.05 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/21.7, allocations: 1.984 MB / 6.985 GB, free: 74.03 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/21.74, allocations: 18.93 MB / 7.004 GB, free: 61.83 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/21.74, allocations: 2.469 MB / 7.006 GB, free: 61.05 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.008808/21.75, allocations: 1.29 MB / 7.007 GB, free: 61.02 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003957/21.75, allocations: 1.904 MB / 7.009 GB, free: 61.01 MB / 1.307 GB Notification: Performance of SimCode: time 1.222e-06/21.75, allocations: 0 / 7.009 GB, free: 61.01 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/22.1, allocations: 185.5 MB / 7.19 GB, free: 51.52 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/22.1, allocations: 271.7 kB / 7.191 GB, free: 51.16 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/32.42, allocations: 4 kB / 7.191 GB, free: 51.16 MB / 1.307 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat