Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001073/0.001074, allocations: 174.5 kB / 492.3 MB, free: 0.6133 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.56/1.56, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009141/0.0009142, allocations: 97.72 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.041e-05/5.053e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2933, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9545/1.248, allocations: 151.6 MB / 1.361 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/1.248, allocations: 94.95 kB / 1.361 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008804/1.257, allocations: 3.051 MB / 1.364 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.257, allocations: 3.844 kB / 1.364 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.257, allocations: 0 / 1.364 GB, free: 34.37 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.0005644/1.258, allocations: 433.7 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.258, allocations: 7.656 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/1.258, allocations: 43.34 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/1.258, allocations: 15.59 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.258, allocations: 184.8 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/1.258, allocations: 11.25 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.258, allocations: 14.66 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/1.258, allocations: 90.77 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.258, allocations: 3.812 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.258, allocations: 1.219 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.258, allocations: 0 / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/1.258, allocations: 70.25 kB / 1.365 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/1.259, allocations: 408.8 kB / 1.365 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.259, allocations: 89.88 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/1.259, allocations: 43.23 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/1.26, allocations: 0.5539 MB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.26, allocations: 37.94 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.26, allocations: 0 / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002274/1.26, allocations: 90.67 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/1.26, allocations: 55.25 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/1.26, allocations: 149.1 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/1.26, allocations: 25.7 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/1.26, allocations: 107.1 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.26, allocations: 29.72 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.26, allocations: 2.875 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.26, allocations: 321 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/1.26, allocations: 21.38 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/1.26, allocations: 30.28 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/1.26, allocations: 21.11 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.26, allocations: 0 / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001434/1.261, allocations: 103.1 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.261, allocations: 6.703 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.261, allocations: 4 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.261, allocations: 0 / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.261, allocations: 32.56 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/1.261, allocations: 3.812 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/1.261, allocations: 17.03 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/1.261, allocations: 7.969 kB / 1.367 GB, free: 31.93 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 6.382e-05/1.261, allocations: 108.2 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/1.261, allocations: 15.64 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/1.261, allocations: 118.5 kB / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.261, allocations: 0 / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.261, allocations: 0 / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.261, allocations: 0 / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.261, allocations: 211.4 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.261, allocations: 384 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/1.262, allocations: 32.56 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.262, allocations: 3.953 kB / 1.367 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.262, allocations: 6.5 kB / 1.367 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.262, allocations: 3.938 kB / 1.367 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.262, allocations: 0 / 1.367 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/1.262, allocations: 196.6 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/1.262, allocations: 94.02 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.262, allocations: 7.797 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.262, allocations: 20.86 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/1.262, allocations: 6.516 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.262, allocations: 0 / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.332e-05/1.262, allocations: 123.8 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.262, allocations: 0 / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002387/1.262, allocations: 37.41 kB / 1.368 GB, free: 31.23 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.0004864/1.263, allocations: 0.7366 MB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001416/1.263, allocations: 60.44 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.263, allocations: 4 kB / 1.368 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/1.263, allocations: 39.55 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.263, allocations: 32.14 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/1.264, allocations: 180.8 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.264, allocations: 0.7092 MB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.251e-05/1.264, allocations: 11.2 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/1.264, allocations: 30.98 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.264, allocations: 0 / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/1.281, allocations: 2.646 MB / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.281, allocations: 178.7 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/3.075, allocations: 4 kB / 1.372 GB, free: 29.25 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat does not exist to compare? outputFormat=mat