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.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001155/0.001155, allocations: 176 kB / 0.4901 GB, free: 2.258 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.63/1.63, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.0009847/0.0009846, allocations: 108.9 kB / 0.9396 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004236, allocations: 9.375 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3534, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/5.021, allocations: 1.897 GB / 3.126 GB, free: 50.17 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.022, allocations: 87.52 kB / 3.126 GB, free: 50.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.132/9.154, allocations: 1.01 GB / 4.136 GB, free: 222.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.444e-06/9.154, allocations: 3.969 kB / 4.136 GB, free: 222.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001099/9.154, allocations: 32.84 kB / 4.136 GB, free: 222.4 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.006971/9.161, allocations: 1.97 MB / 4.138 GB, free: 221.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/9.161, allocations: 12.64 kB / 4.138 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003395/9.161, allocations: 134.1 kB / 4.138 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/9.165, allocations: 0.5407 MB / 4.139 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/9.168, allocations: 1.086 MB / 4.14 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006408/9.168, allocations: 194.4 kB / 4.14 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/9.169, allocations: 91.28 kB / 4.14 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/9.172, allocations: 1.344 MB / 4.142 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/9.172, allocations: 3.844 kB / 4.142 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/9.172, allocations: 34.03 kB / 4.142 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/9.172, allocations: 41.2 kB / 4.142 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/9.176, allocations: 1.503 MB / 4.143 GB, free: 221.4 MB / 1.167 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 0.007327/9.183, allocations: 4.205 MB / 4.147 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/9.185, allocations: 1.067 MB / 4.148 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/9.186, allocations: 0.6077 MB / 4.149 GB, free: 219.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/9.186, allocations: 49.72 kB / 4.149 GB, free: 219.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.938e-06/9.186, allocations: 3.125 kB / 4.149 GB, free: 219.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.004925/9.191, allocations: 1.984 MB / 4.151 GB, free: 219.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/9.191, allocations: 59.44 kB / 4.151 GB, free: 219.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/9.192, allocations: 0.7075 MB / 4.152 GB, free: 218.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/9.192, allocations: 44.3 kB / 4.152 GB, free: 218.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/9.193, allocations: 444.6 kB / 4.152 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/9.193, allocations: 262.1 kB / 4.152 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/9.193, allocations: 15.81 kB / 4.152 GB, free: 218.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/9.193, allocations: 337.6 kB / 4.153 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/9.194, allocations: 0.5858 MB / 4.153 GB, free: 218.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/9.196, allocations: 0.7402 MB / 4.154 GB, free: 218.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/9.197, allocations: 0.6405 MB / 4.155 GB, free: 218.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/9.197, allocations: 3.75 kB / 4.155 GB, free: 218.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003273/9.201, allocations: 1.482 MB / 4.156 GB, free: 218 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/9.201, allocations: 488.4 kB / 4.156 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/9.201, allocations: 0 / 4.156 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/9.201, allocations: 3.844 kB / 4.156 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/9.202, allocations: 277.1 kB / 4.157 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005543/9.203, allocations: 1.199 MB / 4.158 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/9.205, allocations: 199.5 kB / 4.158 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/9.205, allocations: 45.84 kB / 4.158 GB, free: 216.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/9.205, allocations: 3.656 kB / 4.158 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003009/9.208, allocations: 1.368 MB / 4.159 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/9.208, allocations: 0 / 4.159 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/9.208, allocations: 3.75 kB / 4.159 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/9.209, allocations: 262.9 kB / 4.16 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/9.209, allocations: 6.125 kB / 4.16 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/9.211, allocations: 191.2 kB / 4.16 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/9.211, allocations: 41.94 kB / 4.16 GB, free: 216.3 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 () * Number of clocked 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.0006961/9.211, allocations: 383.2 kB / 4.16 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/9.212, allocations: 106 kB / 4.16 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/9.215, allocations: 1.5 MB / 4.162 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/9.215, allocations: 7.125 kB / 4.162 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/9.215, allocations: 0 / 4.162 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/9.215, allocations: 3.844 kB / 4.162 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005751/9.221, allocations: 2.998 MB / 4.165 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/9.221, allocations: 3.875 kB / 4.165 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/9.222, allocations: 257.5 kB / 4.165 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/9.222, allocations: 7.062 kB / 4.165 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/9.222, allocations: 29.47 kB / 4.165 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/9.223, allocations: 1.196 MB / 4.166 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/9.223, allocations: 7.281 kB / 4.166 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/9.226, allocations: 1.759 MB / 4.168 GB, free: 213.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/9.227, allocations: 323.4 kB / 4.168 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/9.227, allocations: 25.69 kB / 4.168 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/9.229, allocations: 168.6 kB / 4.168 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/9.229, allocations: 61.8 kB / 4.169 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/9.229, allocations: 40.22 kB / 4.169 GB, free: 213.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008667/9.23, allocations: 0.5574 MB / 4.169 GB, free: 213.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/9.23, allocations: 0 / 4.169 GB, free: 213.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003064/9.233, allocations: 0.7633 MB / 4.17 GB, free: 213.5 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 () * Number of clocked 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.0077/9.241, allocations: 5.616 MB / 4.175 GB, free: 210.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005467/9.246, allocations: 2.214 MB / 4.177 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/9.246, allocations: 3.969 kB / 4.177 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/9.248, allocations: 0.7257 MB / 4.178 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/9.251, allocations: 0.4991 MB / 4.179 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/9.269, allocations: 4.453 MB / 4.183 GB, free: 208.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/9.27, allocations: 1.116 MB / 4.184 GB, free: 207.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002294/9.273, allocations: 419.7 kB / 4.185 GB, free: 207.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008069/9.273, allocations: 390.1 kB / 4.185 GB, free: 207.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/9.274, allocations: 2.75 kB / 4.185 GB, free: 207.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/9.374, allocations: 62.29 MB / 4.246 GB, free: 206.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/9.374, allocations: 280.7 kB / 4.246 GB, free: 205.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.098/13.47, allocations: 4 kB / 4.246 GB, free: 205.8 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