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.431/2.431, allocations: 390.5 MB / 398 MB, free: 10.89 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.001431/0.001431, allocations: 187.7 kB / 491.2 MB, free: 1.551 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.7868 GB, free: 13.36 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.0008799/0.0008799, allocations: 91.58 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.362e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2934, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.569/6.862, allocations: 1.896 GB / 3.108 GB, free: 351.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/6.863, allocations: 88.91 kB / 3.108 GB, free: 351.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.943/10.81, allocations: 0.9984 GB / 4.107 GB, free: 216.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.833e-06/10.81, allocations: 0 / 4.107 GB, free: 216.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001257/10.81, allocations: 33.33 kB / 4.107 GB, free: 216.1 MB / 1.151 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.007472/10.81, allocations: 1.794 MB / 4.109 GB, free: 215 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/10.81, allocations: 6.094 kB / 4.109 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/10.82, allocations: 0.5481 MB / 4.109 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/10.82, allocations: 1.074 MB / 4.11 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006034/10.82, allocations: 168.1 kB / 4.11 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/10.82, allocations: 48.38 kB / 4.11 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/10.82, allocations: 0.989 MB / 4.111 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/10.82, allocations: 1.04 MB / 4.112 GB, free: 213 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/10.82, allocations: 0 / 4.112 GB, free: 213 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/10.82, allocations: 0 / 4.112 GB, free: 213 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/10.82, allocations: 39.56 kB / 4.112 GB, free: 212.9 MB / 1.151 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.006868/10.83, allocations: 4.021 MB / 4.116 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/10.83, allocations: 0.725 MB / 4.117 GB, free: 209.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/10.83, allocations: 0.4946 MB / 4.118 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/10.83, allocations: 0.6077 MB / 4.118 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/10.83, allocations: 43.05 kB / 4.118 GB, free: 208.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/10.83, allocations: 2.906 kB / 4.118 GB, free: 208.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002422/10.84, allocations: 1.124 MB / 4.119 GB, free: 208 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/10.84, allocations: 63.34 kB / 4.119 GB, free: 207.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/10.84, allocations: 0.5638 MB / 4.12 GB, free: 207.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/10.84, allocations: 29.48 kB / 4.12 GB, free: 207.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/10.84, allocations: 456.2 kB / 4.12 GB, free: 207.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/10.84, allocations: 250 kB / 4.121 GB, free: 207 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/10.84, allocations: 0 / 4.121 GB, free: 207 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/10.84, allocations: 341.4 kB / 4.121 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/10.84, allocations: 397.7 kB / 4.121 GB, free: 206.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/10.84, allocations: 0.52 MB / 4.122 GB, free: 206.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/10.84, allocations: 0.5894 MB / 4.122 GB, free: 205.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/10.84, allocations: 0 / 4.122 GB, free: 205.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002127/10.84, allocations: 1.172 MB / 4.124 GB, free: 205.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/10.84, allocations: 487 kB / 4.124 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/10.84, allocations: 0 / 4.124 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/10.84, allocations: 3.906 kB / 4.124 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/10.84, allocations: 279.8 kB / 4.124 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005548/10.84, allocations: 1.205 MB / 4.125 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/10.85, allocations: 184.2 kB / 4.126 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/10.85, allocations: 37.12 kB / 4.126 GB, free: 203.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/10.85, allocations: 4.156 kB / 4.126 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/10.85, allocations: 1.062 MB / 4.127 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/10.85, allocations: 7.594 kB / 4.127 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/10.85, allocations: 3.875 kB / 4.127 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/10.85, allocations: 256.2 kB / 4.127 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/10.85, allocations: 11.61 kB / 4.127 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/10.85, allocations: 169.3 kB / 4.127 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/10.85, allocations: 41.78 kB / 4.127 GB, free: 202.7 MB / 1.151 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.0002842/10.85, allocations: 120 kB / 4.127 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001841/10.85, allocations: 1.083 MB / 4.128 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/10.85, allocations: 91.72 kB / 4.128 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/10.85, allocations: 1.198 MB / 4.13 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/10.85, allocations: 7.156 kB / 4.13 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/10.85, allocations: 0 / 4.13 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/10.85, allocations: 7.938 kB / 4.13 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/10.86, allocations: 2.573 MB / 4.132 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/10.86, allocations: 7.938 kB / 4.132 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/10.86, allocations: 255 kB / 4.132 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/10.86, allocations: 6.875 kB / 4.132 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/10.86, allocations: 27.64 kB / 4.132 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005081/10.86, allocations: 1.188 MB / 4.134 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/10.86, allocations: 7.156 kB / 4.134 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/10.86, allocations: 1.484 MB / 4.135 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/10.86, allocations: 319.8 kB / 4.135 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/10.86, allocations: 11.56 kB / 4.135 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/10.87, allocations: 150.1 kB / 4.135 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/10.87, allocations: 64.97 kB / 4.136 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/10.87, allocations: 36.95 kB / 4.136 GB, free: 197 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006392/10.87, allocations: 444.1 kB / 4.136 GB, free: 196.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.87, allocations: 0 / 4.136 GB, free: 196.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002228/10.87, allocations: 0.6869 MB / 4.137 GB, free: 196.5 MB / 1.151 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.005977/10.87, allocations: 5.573 MB / 4.142 GB, free: 192.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002816/10.88, allocations: 1.615 MB / 4.144 GB, free: 192.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/10.88, allocations: 0 / 4.144 GB, free: 192.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007917/10.88, allocations: 0.5116 MB / 4.144 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/10.88, allocations: 423.5 kB / 4.145 GB, free: 191.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/10.89, allocations: 2.543 MB / 4.147 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/10.89, allocations: 1.122 MB / 4.148 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002271/10.9, allocations: 446.4 kB / 4.149 GB, free: 187.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/10.9, allocations: 379.3 kB / 4.149 GB, free: 187.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.513e-06/10.9, allocations: 0 / 4.149 GB, free: 187.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08247/10.98, allocations: 43.54 MB / 4.191 GB, free: 144.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/10.98, allocations: 200.2 kB / 4.192 GB, free: 144.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.664/14.64, allocations: 1.969 kB / 4.192 GB, free: 144.6 MB / 1.151 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