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.342/2.342, allocations: 390.3 MB / 402.9 MB, free: 6.672 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.00131/0.00131, allocations: 168.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.702/1.702, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009577/0.0009577, allocations: 80.03 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/4.998e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4038, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.644/7.047, allocations: 2.189 GB / 3.408 GB, free: 75.81 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/7.048, allocations: 83.95 kB / 3.408 GB, free: 75.73 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 15.02/22.07, allocations: 3.406 GB / 6.814 GB, free: 99.27 MB / 1.292 GB Notification: Performance of FrontEnd: time 1.543e-06/22.07, allocations: 1.938 kB / 6.814 GB, free: 99.27 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.0007466/22.07, allocations: 121.2 kB / 6.814 GB, free: 99.27 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.02614/22.1, allocations: 5.602 MB / 6.82 GB, free: 97.49 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/22.1, allocations: 6.938 kB / 6.82 GB, free: 97.49 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002504/22.1, allocations: 436.3 kB / 6.82 GB, free: 97.43 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/22.12, allocations: 2.04 MB / 6.822 GB, free: 97.14 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/22.13, allocations: 4.272 MB / 6.826 GB, free: 96.59 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003414/22.14, allocations: 0.9091 MB / 6.827 GB, free: 96.59 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/22.14, allocations: 343.9 kB / 6.827 GB, free: 96.59 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/22.15, allocations: 4.18 MB / 6.832 GB, free: 96.22 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/22.15, allocations: 0 / 6.832 GB, free: 96.22 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/22.15, allocations: 127.5 kB / 6.832 GB, free: 96.22 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/22.16, allocations: 161.3 kB / 6.832 GB, free: 96.21 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/22.17, allocations: 3.858 MB / 6.836 GB, free: 96.18 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.05642/22.22, allocations: 20.1 MB / 6.855 GB, free: 87.89 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/22.23, allocations: 2.559 MB / 6.858 GB, free: 87.84 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/22.23, allocations: 1.449 MB / 6.859 GB, free: 87.83 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/22.23, allocations: 0.6939 MB / 6.86 GB, free: 87.17 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004183/22.24, allocations: 1.786 MB / 6.862 GB, free: 87.08 MB / 1.292 GB Notification: Performance of pre-optimization done (n=247): time 1.047e-05/22.24, allocations: 5.156 kB / 6.862 GB, free: 87.08 MB / 1.292 GB Notification: Performance of matching and sorting (n=247): time 0.009009/22.25, allocations: 3.027 MB / 6.865 GB, free: 86.77 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/22.25, allocations: 103.6 kB / 6.865 GB, free: 86.67 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/22.26, allocations: 3.148 MB / 6.868 GB, free: 86.34 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/22.26, allocations: 93.23 kB / 6.868 GB, free: 86.3 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003001/22.26, allocations: 1.859 MB / 6.87 GB, free: 85.77 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/22.26, allocations: 0.8355 MB / 6.87 GB, free: 85.23 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008807/22.26, allocations: 64.59 kB / 6.87 GB, free: 85.23 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0003386/22.26, allocations: 427.2 kB / 6.871 GB, free: 84.92 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/22.27, allocations: 1.358 MB / 6.872 GB, free: 84.91 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/22.27, allocations: 2.133 MB / 6.874 GB, free: 84.16 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/22.27, allocations: 1.502 MB / 6.876 GB, free: 84.07 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-05/22.27, allocations: 3.781 kB / 6.876 GB, free: 84.07 MB / 1.292 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.0108/22.29, allocations: 3.924 MB / 6.88 GB, free: 83.71 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001558/22.29, allocations: 5.144 MB / 6.885 GB, free: 78.42 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/22.29, allocations: 15.41 kB / 6.885 GB, free: 78.42 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.341e-05/22.29, allocations: 29.06 kB / 6.885 GB, free: 78.42 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006797/22.29, allocations: 1.202 MB / 6.886 GB, free: 78.42 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/22.3, allocations: 5.983 MB / 6.892 GB, free: 72.56 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009725/22.31, allocations: 0.8713 MB / 6.893 GB, free: 72.38 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/22.31, allocations: 167.2 kB / 6.893 GB, free: 72.38 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/22.31, allocations: 3.406 kB / 6.893 GB, free: 72.38 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009986/22.32, allocations: 3.531 MB / 6.896 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/22.32, allocations: 13.97 kB / 6.896 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.369e-05/22.32, allocations: 27.66 kB / 6.896 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/22.32, allocations: 1.125 MB / 6.897 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-05/22.32, allocations: 30.53 kB / 6.897 GB, free: 72.26 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007662/22.33, allocations: 0.8303 MB / 6.898 GB, free: 72.11 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009602/22.33, allocations: 165.4 kB / 6.898 GB, free: 72.11 MB / 1.292 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 () * 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.001741/22.33, allocations: 294.8 kB / 6.899 GB, free: 71.99 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/22.34, allocations: 435.9 kB / 6.899 GB, free: 71.76 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/22.35, allocations: 3.618 MB / 6.902 GB, free: 71.53 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/22.35, allocations: 27.44 kB / 6.903 GB, free: 71.53 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/22.35, allocations: 1.531 kB / 6.903 GB, free: 71.53 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/22.35, allocations: 16.8 kB / 6.903 GB, free: 71.53 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/22.37, allocations: 8.064 MB / 6.91 GB, free: 70.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/22.37, allocations: 5.938 kB / 6.91 GB, free: 70.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004751/22.37, allocations: 0.921 MB / 6.911 GB, free: 70.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-05/22.37, allocations: 13.41 kB / 6.911 GB, free: 70.8 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/22.37, allocations: 89.66 kB / 6.911 GB, free: 70.8 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/22.37, allocations: 5.935 MB / 6.917 GB, free: 64.95 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/22.37, allocations: 4.656 kB / 6.917 GB, free: 64.95 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008114/22.38, allocations: 4.064 MB / 6.921 GB, free: 63.55 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004261/22.39, allocations: 1.023 MB / 6.922 GB, free: 63.19 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/22.39, allocations: 51.52 kB / 6.922 GB, free: 63.19 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007028/22.39, allocations: 0.6596 MB / 6.923 GB, free: 63.17 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/22.4, allocations: 200.4 kB / 6.923 GB, free: 63.16 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006083/22.4, allocations: 135.1 kB / 6.923 GB, free: 63.16 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.006353/22.4, allocations: 2.361 MB / 6.926 GB, free: 62.96 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.61e-07/22.4, allocations: 0 / 6.926 GB, free: 62.96 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01524/22.42, allocations: 2.845 MB / 6.928 GB, free: 62.73 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: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * 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.02341/22.44, allocations: 12.03 MB / 6.94 GB, free: 56.62 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01748/22.46, allocations: 5.693 MB / 6.946 GB, free: 56.38 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-05/22.46, allocations: 4 kB / 6.946 GB, free: 56.38 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.005049/22.46, allocations: 1.732 MB / 6.947 GB, free: 56.37 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01431/22.48, allocations: 1.985 MB / 6.949 GB, free: 56.32 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/22.51, allocations: 6.995 MB / 6.956 GB, free: 54.61 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/22.51, allocations: 2.477 MB / 6.958 GB, free: 53.81 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01378/22.53, allocations: 1.576 MB / 6.96 GB, free: 53.73 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004547/22.53, allocations: 1.842 MB / 6.962 GB, free: 53.72 MB / 1.292 GB Notification: Performance of SimCode: time 2.484e-06/22.53, allocations: 0 / 6.962 GB, free: 53.72 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4094/22.94, allocations: 203.9 MB / 7.161 GB, free: 13.42 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/22.94, allocations: 242.5 kB / 7.161 GB, free: 13.11 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/35.25, allocations: 3.75 kB / 7.161 GB, free: 13.11 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