Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.00127/0.00127, allocations: 176.9 kB / 496.1 MB, free: 12.89 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.457/1.457, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.00097/0.00097, allocations: 95.89 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.697e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/6.016, allocations: 1.897 GB / 3.115 GB, free: 418.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/6.017, allocations: 83.95 kB / 3.115 GB, free: 418.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.909/9.926, allocations: 1.01 GB / 4.125 GB, free: 221.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.303e-06/9.926, allocations: 0 / 4.125 GB, free: 221.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001749/9.926, allocations: 32.94 kB / 4.125 GB, free: 221 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006962/9.933, allocations: 1.784 MB / 4.127 GB, free: 220.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/9.933, allocations: 10.66 kB / 4.127 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004914/9.933, allocations: 130.5 kB / 4.127 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/9.937, allocations: 0.548 MB / 4.127 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/9.941, allocations: 1.071 MB / 4.128 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/9.941, allocations: 199.7 kB / 4.129 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/9.941, allocations: 82.34 kB / 4.129 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/9.943, allocations: 1.15 MB / 4.13 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/9.943, allocations: 0 / 4.13 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/9.944, allocations: 30.72 kB / 4.13 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/9.944, allocations: 37.69 kB / 4.13 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/9.945, allocations: 1.116 MB / 4.131 GB, free: 219.8 MB / 1.167 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.007174/9.953, allocations: 4.209 MB / 4.135 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/9.954, allocations: 0.7475 MB / 4.136 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/9.954, allocations: 0.5103 MB / 4.136 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/9.955, allocations: 0.6133 MB / 4.137 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/9.955, allocations: 43.16 kB / 4.137 GB, free: 217.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.156e-06/9.955, allocations: 0 / 4.137 GB, free: 217.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002233/9.958, allocations: 1.019 MB / 4.138 GB, free: 217.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/9.958, allocations: 60.03 kB / 4.138 GB, free: 217.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/9.959, allocations: 0.7029 MB / 4.139 GB, free: 217.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/9.959, allocations: 42.52 kB / 4.139 GB, free: 217.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/9.959, allocations: 449.4 kB / 4.139 GB, free: 217.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/9.96, allocations: 261.2 kB / 4.139 GB, free: 217 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/9.96, allocations: 14 kB / 4.139 GB, free: 217 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/9.96, allocations: 334.2 kB / 4.14 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/9.96, allocations: 411.2 kB / 4.14 GB, free: 216.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/9.961, allocations: 0.5458 MB / 4.141 GB, free: 216.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/9.962, allocations: 463.3 kB / 4.141 GB, free: 216.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/9.962, allocations: 0 / 4.141 GB, free: 216.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001788/9.964, allocations: 1.105 MB / 4.142 GB, free: 216.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/9.964, allocations: 479.9 kB / 4.143 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/9.964, allocations: 2 kB / 4.143 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/9.964, allocations: 2.875 kB / 4.143 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/9.965, allocations: 273.4 kB / 4.143 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005368/9.966, allocations: 1.205 MB / 4.144 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/9.967, allocations: 196.6 kB / 4.144 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/9.967, allocations: 41.31 kB / 4.144 GB, free: 214.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/9.967, allocations: 7.906 kB / 4.144 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/9.969, allocations: 0.996 MB / 4.145 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/9.969, allocations: 0 / 4.145 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/9.969, allocations: 7.375 kB / 4.145 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/9.97, allocations: 260.1 kB / 4.146 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/9.97, allocations: 10.61 kB / 4.146 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/9.972, allocations: 202.1 kB / 4.146 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/9.972, allocations: 37.58 kB / 4.146 GB, free: 214.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/9.972, allocations: 146.2 kB / 4.146 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/9.972, allocations: 102.8 kB / 4.146 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/9.974, allocations: 1.117 MB / 4.147 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/9.974, allocations: 6.625 kB / 4.147 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/9.974, allocations: 0 / 4.147 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/9.974, allocations: 3.375 kB / 4.147 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/9.978, allocations: 2.621 MB / 4.15 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/9.978, allocations: 3.594 kB / 4.15 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/9.979, allocations: 265.8 kB / 4.15 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/9.98, allocations: 12.59 kB / 4.15 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/9.98, allocations: 29.61 kB / 4.15 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004118/9.98, allocations: 1.187 MB / 4.151 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/9.98, allocations: 10.48 kB / 4.151 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/9.982, allocations: 1.395 MB / 4.153 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/9.982, allocations: 318.9 kB / 4.153 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/9.982, allocations: 20.81 kB / 4.153 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/9.984, allocations: 166 kB / 4.153 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/9.984, allocations: 67.36 kB / 4.153 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/9.984, allocations: 34.44 kB / 4.153 GB, free: 212 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000764/9.985, allocations: 0.5528 MB / 4.154 GB, free: 211.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/9.985, allocations: 0 / 4.154 GB, free: 211.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002469/9.987, allocations: 0.7607 MB / 4.154 GB, free: 211.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005493/9.993, allocations: 5.222 MB / 4.16 GB, free: 208.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003074/9.996, allocations: 1.672 MB / 4.161 GB, free: 208.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/9.996, allocations: 6.125 kB / 4.161 GB, free: 208.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/9.997, allocations: 0.5416 MB / 4.162 GB, free: 208.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/10, allocations: 0.4926 MB / 4.162 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/10.01, allocations: 2.618 MB / 4.165 GB, free: 207.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/10.01, allocations: 1.122 MB / 4.166 GB, free: 206.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002103/10.02, allocations: 490.4 kB / 4.166 GB, free: 206.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/10.02, allocations: 380.8 kB / 4.167 GB, free: 206.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.733e-06/10.02, allocations: 0 / 4.167 GB, free: 206.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/10.12, allocations: 69.96 MB / 4.235 GB, free: 160 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/10.12, allocations: 242.4 kB / 4.235 GB, free: 159.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.561/14.69, allocations: 0 / 4.235 GB, free: 159.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat does not exist to compare? outputFormat=mat