Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.205/2.205, allocations: 393.5 MB / 408.4 MB, free: 11 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.00122/0.001221, allocations: 183.2 kB / 0.4901 GB, free: 2.227 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.545/1.545, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001047/0.001047, allocations: 100.3 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 15.16 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2772, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.4569, allocations: 152.5 MB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4572, allocations: 103.9 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009104/0.4664, allocations: 3.066 MB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.103e-06/0.4664, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4664, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006464/0.4671, allocations: 459.6 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4671, allocations: 8.031 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.4672, allocations: 38.56 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4672, allocations: 19.84 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4674, allocations: 175 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4674, allocations: 12 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.4674, allocations: 12 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.4678, allocations: 126.7 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4678, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4678, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4678, allocations: 8 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.4682, allocations: 135.9 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.4688, allocations: 408.3 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.4692, allocations: 122.5 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.4696, allocations: 0.5583 MB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4696, allocations: 34.56 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4696, allocations: 0 / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0006305/0.4703, allocations: 225.5 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.4703, allocations: 55.41 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4705, allocations: 145.3 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4705, allocations: 29.7 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.4706, allocations: 104.3 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.4706, allocations: 31.55 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4706, allocations: 0 / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4707, allocations: 322.8 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4709, allocations: 55.91 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4711, allocations: 55.95 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.4713, allocations: 55.97 kB / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4713, allocations: 0 / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003958/0.4717, allocations: 173.3 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4717, allocations: 5.719 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4717, allocations: 0 / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4717, allocations: 0 / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4719, allocations: 35.97 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4719, allocations: 0 / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.472, allocations: 31.83 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.472, allocations: 0.6562 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/0.4721, allocations: 114.6 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.4722, allocations: 15.86 kB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.4726, allocations: 182.9 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4726, allocations: 4 kB / 1.385 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4726, allocations: 0 / 1.385 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4727, allocations: 0 / 1.385 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4729, allocations: 217.5 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4729, allocations: 4 kB / 1.385 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.473, allocations: 23.98 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.473, allocations: 7.953 kB / 1.385 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4731, allocations: 4 kB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4731, allocations: 3.984 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4731, allocations: 0 / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.4735, allocations: 263.2 kB / 1.385 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.4736, allocations: 93 kB / 1.386 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4736, allocations: 11.94 kB / 1.386 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4738, allocations: 23.98 kB / 1.386 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4738, allocations: 7.984 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4738, allocations: 4 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.4739, allocations: 116.9 kB / 1.386 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4739, allocations: 4 kB / 1.386 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002366/0.4742, allocations: 24 kB / 1.386 GB, free: 8.793 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007953/0.475, allocations: 0.8059 MB / 1.386 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.4754, allocations: 136.1 kB / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4754, allocations: 0 / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4756, allocations: 71.89 kB / 1.387 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.4759, allocations: 28.5 kB / 1.387 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4773, allocations: 0.8127 MB / 1.388 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4776, allocations: 0.7043 MB / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.798e-05/0.4777, allocations: 12.55 kB / 1.388 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.4778, allocations: 31.44 kB / 1.388 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of SimCode: time 6.502e-06/0.4778, allocations: 112 / 1.388 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.4915, allocations: 2.674 MB / 1.391 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.4917, allocations: 206.7 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.096, allocations: 4.062 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat does not exist to compare? outputFormat=mat