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.482/2.482, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001256/0.001256, allocations: 177 kB / 496.1 MB, free: 12.88 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.589/1.589, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0009895/0.0009895, allocations: 88.02 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.045e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3275, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.378, allocations: 152.5 MB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.378, allocations: 87.5 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009019/1.387, allocations: 3.054 MB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.184e-06/1.387, allocations: 0 / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.387, allocations: 4 kB / 1.371 GB, free: 14.89 MB / 0.8386 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.0006197/1.388, allocations: 438.9 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.388, allocations: 11.97 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/1.388, allocations: 45.3 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/1.388, allocations: 19.77 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.388, allocations: 167 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.388, allocations: 7.75 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/1.388, allocations: 11.25 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/1.389, allocations: 100 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.389, allocations: 0 / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.389, allocations: 3.375 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/1.389, allocations: 4 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/1.389, allocations: 64.09 kB / 1.372 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/1.389, allocations: 409.2 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/1.39, allocations: 89.14 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/1.39, allocations: 48.67 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/1.39, allocations: 0.5506 MB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.39, allocations: 41.8 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/1.39, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002596/1.391, allocations: 97.81 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.391, allocations: 51.41 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.391, allocations: 147 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.391, allocations: 25.7 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/1.391, allocations: 102.1 kB / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.391, allocations: 33.8 kB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.391, allocations: 4 kB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.391, allocations: 322.3 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/1.391, allocations: 22.12 kB / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/1.391, allocations: 18.88 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/1.391, allocations: 25.3 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.391, allocations: 7.891 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001631/1.391, allocations: 89.41 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.391, allocations: 4.375 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.392, allocations: 3.938 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.392, allocations: 4 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/1.392, allocations: 39.91 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.392, allocations: 3.938 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/1.392, allocations: 27.64 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/1.392, allocations: 0 / 1.374 GB, free: 11.8 MB / 0.8386 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 () * 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.355e-05/1.392, allocations: 115.7 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/1.392, allocations: 15.77 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/1.392, allocations: 108.5 kB / 1.374 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.392, allocations: 4 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.392, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.392, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.392, allocations: 202.1 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.393, allocations: 0 / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.393, allocations: 39.92 kB / 1.374 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.393, allocations: 0 / 1.374 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.393, allocations: 0 / 1.374 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.393, allocations: 4 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.393, allocations: 0 / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/1.393, allocations: 193.2 kB / 1.374 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/1.393, allocations: 96.25 kB / 1.374 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/1.393, allocations: 3.953 kB / 1.374 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.393, allocations: 22.97 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/1.393, allocations: 11.92 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/1.393, allocations: 7.312 kB / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.247e-05/1.393, allocations: 115.7 kB / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.393, allocations: 0 / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002364/1.394, allocations: 38.88 kB / 1.375 GB, free: 10.84 MB / 0.8386 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 () * 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.00059/1.394, allocations: 0.7404 MB / 1.375 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001695/1.394, allocations: 61.81 kB / 1.375 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.394, allocations: 0 / 1.375 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/1.395, allocations: 32.56 kB / 1.375 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/1.395, allocations: 31.11 kB / 1.376 GB, free: 10 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/1.395, allocations: 183.3 kB / 1.376 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.396, allocations: 0.7121 MB / 1.376 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.469e-05/1.396, allocations: 4.562 kB / 1.376 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/1.396, allocations: 29.42 kB / 1.376 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.396, allocations: 0 / 1.376 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/1.411, allocations: 2.651 MB / 1.379 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.411, allocations: 177 kB / 1.379 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/3.113, allocations: 1.875 kB / 1.379 GB, free: 6.371 MB / 0.8386 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