Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.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.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",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.00115/0.00115, allocations: 99.55 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.001031/0.001031, 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.572/2.572, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003547, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7908, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.001554/0.7924, allocations: 1.235 MB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.7926, allocations: 134.1 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.7927, allocations: 0 / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.7927, allocations: 5.266 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.7928, allocations: 9.078 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.745e-05/0.7929, allocations: 9.297 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.7929, allocations: 33.14 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.793, allocations: 8.875 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.7931, allocations: 13.98 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.7932, allocations: 18.83 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.7932, allocations: 1.469 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.7932, allocations: 1.438 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.7932, allocations: 9.266 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.7933, allocations: 31.8 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.854e-05/0.7933, allocations: 28.66 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.7933, allocations: 0 / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7933, allocations: 5.031 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7933, allocations: 0 / 0.9551 GB, free: 6.875 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004394/0.7938, allocations: 363.2 kB / 0.9554 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7938, allocations: 10.16 kB / 0.9555 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.7939, allocations: 38.55 kB / 0.9555 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.7939, allocations: 10.19 kB / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.212e-05/0.794, allocations: 165.7 kB / 0.9557 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.794, allocations: 9.391 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.794, allocations: 1.25 kB / 0.9557 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.7943, allocations: 75.88 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.7943, allocations: 9.438 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.7943, allocations: 3.953 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7943, allocations: 1.531 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.7946, allocations: 85.95 kB / 0.9558 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.7949, allocations: 271.1 kB / 0.9561 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.7951, allocations: 74.47 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.7952, allocations: 0 / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.7952, allocations: 39.67 kB / 0.9562 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7952, allocations: 0 / 0.9562 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005451/0.7957, allocations: 163.2 kB / 0.9564 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.7958, allocations: 56.69 kB / 0.9564 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.7958, allocations: 106.9 kB / 0.9565 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.7958, allocations: 26.89 kB / 0.9565 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.7959, allocations: 85.23 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.7959, allocations: 8.875 kB / 0.9566 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.7959, allocations: 9.031 kB / 0.9566 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.796, allocations: 316 kB / 0.9569 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.7961, allocations: 43.09 kB / 0.957 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7963, allocations: 42.88 kB / 0.957 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.7964, allocations: 43.55 kB / 0.9571 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7964, allocations: 4 kB / 0.9571 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003378/0.7968, allocations: 116.8 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7968, allocations: 8.703 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7968, allocations: 0 / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7968, allocations: 1.219 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.797, allocations: 22.86 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.797, allocations: 3.984 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.7971, allocations: 20.11 kB / 0.9572 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7971, allocations: 5.344 kB / 0.9572 GB, free: 4.906 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 (3): * Single equations (assignments): 3 * 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.084e-05/0.7972, allocations: 108.3 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.7972, allocations: 5.094 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.7972, allocations: 13.05 kB / 0.9574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7972, allocations: 1.156 kB / 0.9574 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7972, allocations: 3.938 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7973, allocations: 0 / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.7974, allocations: 173.8 kB / 0.9575 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7974, allocations: 4 kB / 0.9575 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.7975, allocations: 19.77 kB / 0.9576 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7975, allocations: 0 / 0.9576 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.7975, allocations: 1.469 kB / 0.9576 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7975, allocations: 3.953 kB / 0.9576 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7975, allocations: 336 / 0.9576 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.7979, allocations: 228.5 kB / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.7979, allocations: 81.02 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.798, allocations: 1.281 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.7981, allocations: 15.86 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.7981, allocations: 10.22 kB / 0.9579 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7981, allocations: 0 / 0.9579 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.7982, allocations: 85.34 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7982, allocations: 4.844 kB / 0.958 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002241/0.7984, allocations: 11.78 kB / 0.958 GB, free: 4.168 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 (3): * Single equations (assignments): 3 * 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.000541/0.7989, allocations: 0.7461 MB / 0.9587 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.7993, allocations: 93.08 kB / 0.9588 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7993, allocations: 0 / 0.9588 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.7995, allocations: 55.8 kB / 0.9589 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7997, allocations: 11.39 kB / 0.9589 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.8001, allocations: 181 kB / 0.959 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.8002, allocations: 0.6857 MB / 0.9597 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.8002, allocations: 7.875 kB / 0.9597 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.8003, allocations: 13.25 kB / 0.9597 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8003, allocations: 0 / 0.9597 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.8107, allocations: 1.421 MB / 0.9611 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001177/0.8109, allocations: 200.8 kB / 0.9613 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.434, allocations: 0 / 0.9613 GB, free: 1.641 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat does not exist to compare? outputFormat=mat