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.16/2.16, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001135/0.001135, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.449/1.449, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008981, allocations: 91.97 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.774e-05, allocations: 5.719 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.311, allocations: 151 MB / 1.354 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.312, allocations: 95.39 kB / 1.354 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009739/1.321, allocations: 3.033 MB / 1.357 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.321, allocations: 3.938 kB / 1.357 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.321, allocations: 3.875 kB / 1.357 GB, free: 33.99 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.0005992/1.322, allocations: 442.2 kB / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.322, allocations: 8.219 kB / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/1.322, allocations: 15.31 kB / 1.357 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.322, allocations: 174.7 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/1.322, allocations: 3.875 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/1.322, allocations: 3.844 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001504/1.322, allocations: 66.67 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.323, allocations: 79.67 kB / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.323, allocations: 0 / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.323, allocations: 4 kB / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.323, allocations: 3.844 kB / 1.357 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/1.323, allocations: 365.1 kB / 1.358 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/1.323, allocations: 84.77 kB / 1.358 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/1.323, allocations: 38.66 kB / 1.358 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/1.324, allocations: 0.5582 MB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/1.324, allocations: 34.5 kB / 1.358 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.324, allocations: 0 / 1.358 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002485/1.324, allocations: 84.16 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/1.324, allocations: 55.41 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/1.324, allocations: 116.9 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.324, allocations: 25.7 kB / 1.359 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/1.324, allocations: 112.1 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/1.324, allocations: 25.45 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/1.324, allocations: 3.844 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.325, allocations: 317.7 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/1.325, allocations: 17.72 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/1.325, allocations: 22.75 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/1.325, allocations: 25.67 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.325, allocations: 0 / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001295/1.325, allocations: 88.8 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.325, allocations: 7.797 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.325, allocations: 4 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.325, allocations: 3.844 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.325, allocations: 27.48 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.325, allocations: 7.844 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.325, allocations: 22.7 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/1.325, allocations: 0 / 1.359 GB, free: 31.63 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 7.907e-05/1.325, allocations: 108.8 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001377/1.325, allocations: 82.95 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/1.325, allocations: 11.7 kB / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/1.326, allocations: 109 kB / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.326, allocations: 3.969 kB / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.326, allocations: 0 / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.326, allocations: 0 / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.326, allocations: 178.8 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.326, allocations: 0 / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/1.326, allocations: 39.36 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.326, allocations: 0 / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.326, allocations: 3.953 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.326, allocations: 3.844 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.326, allocations: 288 / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/1.326, allocations: 185.2 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/1.326, allocations: 90.86 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/1.326, allocations: 0 / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/1.326, allocations: 28.95 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/1.326, allocations: 6.844 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.326, allocations: 3.969 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.501e-05/1.327, allocations: 93.16 kB / 1.36 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.327, allocations: 0 / 1.36 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002662/1.327, allocations: 31 kB / 1.36 GB, free: 30.94 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.0005094/1.327, allocations: 0.7308 MB / 1.361 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001284/1.327, allocations: 56.88 kB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.327, allocations: 0 / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/1.328, allocations: 32.53 kB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.328, allocations: 23.27 kB / 1.361 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/1.328, allocations: 177.7 kB / 1.361 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/1.329, allocations: 0.7023 MB / 1.362 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.147e-05/1.329, allocations: 14.72 kB / 1.362 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/1.329, allocations: 33.72 kB / 1.362 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.329, allocations: 0 / 1.362 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/1.352, allocations: 1.85 MB / 1.364 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.352, allocations: 172 kB / 1.364 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.928, allocations: 4 kB / 1.364 GB, free: 29.07 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