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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.805, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001547/0.8066, allocations: 1.41 MB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.8075, allocations: 0.6734 MB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.8075, allocations: 2.406 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.8076, allocations: 7.922 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.8076, allocations: 27.72 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.8079, allocations: 62.16 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.808, allocations: 75.86 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.8081, allocations: 28.33 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.8082, allocations: 31.08 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.8082, allocations: 43.92 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.8083, allocations: 4.125 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.8085, allocations: 98.89 kB / 0.956 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.8085, allocations: 15.27 kB / 0.956 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.8085, allocations: 44.48 kB / 0.9561 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.8087, allocations: 106.3 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.8087, allocations: 3.938 kB / 0.9562 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8087, allocations: 0.9688 kB / 0.9562 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.8087, allocations: 0 / 0.9562 GB, free: 6.133 MB / 0.7169 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.0004998/0.8092, allocations: 433.3 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8092, allocations: 13.7 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.8093, allocations: 45.39 kB / 0.9566 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.8093, allocations: 14.28 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.8094, allocations: 180.6 kB / 0.9568 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.8094, allocations: 7.344 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.8095, allocations: 6.594 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.8098, allocations: 130.5 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8098, allocations: 0 / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8098, allocations: 5.594 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.8098, allocations: 10.69 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.8102, allocations: 132.3 kB / 0.9571 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.8107, allocations: 404.6 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.811, allocations: 120.4 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.8113, allocations: 0.556 MB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.8114, allocations: 36 kB / 0.9582 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.8114, allocations: 0 / 0.9582 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006263/0.812, allocations: 224.9 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.812, allocations: 53.19 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.8121, allocations: 166.3 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.8122, allocations: 27.02 kB / 0.9586 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.8122, allocations: 104.1 kB / 0.9587 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.8122, allocations: 27.31 kB / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.8123, allocations: 1.219 kB / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.8123, allocations: 329.3 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.8125, allocations: 53.86 kB / 0.9591 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.8126, allocations: 57.33 kB / 0.9592 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.8128, allocations: 59.25 kB / 0.9592 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8128, allocations: 3.938 kB / 0.9592 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003733/0.8132, allocations: 163.8 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8132, allocations: 5.812 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8132, allocations: 3.984 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.8132, allocations: 1.375 kB / 0.9594 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.8134, allocations: 26.89 kB / 0.9594 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.8134, allocations: 0 / 0.9594 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.8135, allocations: 33.55 kB / 0.9595 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.8135, allocations: 2 kB / 0.9595 GB, free: 3.152 MB / 0.7169 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 6.007e-05/0.8136, allocations: 125.6 kB / 0.9596 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8136, allocations: 14.19 kB / 0.9596 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.8141, allocations: 177.6 kB / 0.9598 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8141, allocations: 2.031 kB / 0.9598 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8141, allocations: 0 / 0.9598 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8141, allocations: 4 kB / 0.9598 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.8143, allocations: 215.4 kB / 0.96 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8143, allocations: 1.094 kB / 0.96 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.8144, allocations: 29.97 kB / 0.96 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8144, allocations: 1.25 kB / 0.96 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.8144, allocations: 1.531 kB / 0.96 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.8144, allocations: 0 / 0.96 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8144, allocations: 0 / 0.96 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.8149, allocations: 271.7 kB / 0.9603 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.8149, allocations: 101.6 kB / 0.9604 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.8149, allocations: 0 / 0.9604 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.8151, allocations: 19.92 kB / 0.9604 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.8151, allocations: 8.453 kB / 0.9604 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.8151, allocations: 1 kB / 0.9604 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.8152, allocations: 129.2 kB / 0.9605 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8152, allocations: 0 / 0.9605 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002558/0.8155, allocations: 28.69 kB / 0.9605 GB, free: 2.227 MB / 0.7169 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.0006373/0.8161, allocations: 0.8131 MB / 0.9613 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.8165, allocations: 119.3 kB / 0.9615 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8165, allocations: 0 / 0.9615 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.8167, allocations: 74.27 kB / 0.9615 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.817, allocations: 30.34 kB / 0.9616 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.8185, allocations: 0.8162 MB / 0.9623 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.8187, allocations: 0.7094 MB / 0.963 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.8187, allocations: 18.23 kB / 0.9631 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.8188, allocations: 32.52 kB / 0.9631 GB, free: 72 kB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8188, allocations: 0 / 0.9631 GB, free: 72 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.8323, allocations: 2.674 MB / 0.9657 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8325, allocations: 212.7 kB / 0.9659 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.44, allocations: 0 / 0.9659 GB, free: 14.61 MB / 0.7325 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