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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001301/0.001301, allocations: 181.1 kB / 498.1 MB, free: 5.738 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.493/1.493, allocations: 223.1 MB / 0.7948 GB, free: 18.83 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.001089/0.001089, allocations: 102.8 kB / 0.9346 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003594, allocations: 10 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 142.4 MB / 1.223 GB, free: 89.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.4848, allocations: 149.8 MB / 1.369 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4852, allocations: 91.94 kB / 1.369 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003021/0.4882, allocations: 1.012 MB / 1.37 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4882, allocations: 0 / 1.37 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4883, allocations: 0 / 1.37 GB, free: 2.305 MB / 0.8698 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.0005241/0.4888, allocations: 379.2 kB / 1.371 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4889, allocations: 8.031 kB / 1.371 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.4889, allocations: 30.56 kB / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.4889, allocations: 11.91 kB / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4891, allocations: 171 kB / 1.371 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4891, allocations: 8 kB / 1.371 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4891, allocations: 0 / 1.371 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.4894, allocations: 85.59 kB / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4894, allocations: 0 / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4895, allocations: 3.938 kB / 1.371 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4895, allocations: 0 / 1.371 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.4898, allocations: 91.86 kB / 1.371 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.4903, allocations: 288.8 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4905, allocations: 66.53 kB / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.4905, allocations: 0 / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4906, allocations: 34.56 kB / 1.371 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4906, allocations: 0 / 1.371 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005559/0.4911, allocations: 161.6 kB / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4912, allocations: 55.36 kB / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.4913, allocations: 101 kB / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4913, allocations: 29.7 kB / 1.372 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.4913, allocations: 92.11 kB / 1.372 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.4914, allocations: 11.81 kB / 1.372 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4914, allocations: 0 / 1.372 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4915, allocations: 314.8 kB / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.4917, allocations: 43.95 kB / 1.372 GB, free: 148 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4918, allocations: 43.97 kB / 1.372 GB, free: 104 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.492, allocations: 39.97 kB / 1.372 GB, free: 64 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.492, allocations: 0 / 1.372 GB, free: 64 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.4923, allocations: 125.5 kB / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4923, allocations: 9.25 kB / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4924, allocations: 0 / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4924, allocations: 336 / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4925, allocations: 19.98 kB / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4925, allocations: 0 / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.122e-05/0.4926, allocations: 19.94 kB / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4926, allocations: 4 kB / 1.372 GB, free: 15.88 MB / 0.8855 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 7.968e-05/0.4927, allocations: 117.8 kB / 1.373 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.4928, allocations: 7.891 kB / 1.373 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.4928, allocations: 7.906 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4928, allocations: 4 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4928, allocations: 0 / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4928, allocations: 0 / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.493, allocations: 165.6 kB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.493, allocations: 0 / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4931, allocations: 35.91 kB / 1.373 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4931, allocations: 0 / 1.373 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4932, allocations: 0 / 1.373 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4932, allocations: 3.938 kB / 1.373 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4932, allocations: 3.938 kB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.4936, allocations: 211.4 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.4936, allocations: 92.94 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.4936, allocations: 4 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4938, allocations: 19.98 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4938, allocations: 0 / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.4938, allocations: 4 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.4939, allocations: 91.27 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4939, allocations: 0 / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002277/0.4941, allocations: 8 kB / 1.373 GB, free: 15.02 MB / 0.8855 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.0007559/0.4949, allocations: 0.759 MB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.4952, allocations: 87.92 kB / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4952, allocations: 0 / 1.374 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4954, allocations: 47.97 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.4956, allocations: 13.23 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.4962, allocations: 178.3 kB / 1.374 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4965, allocations: 0.6887 MB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.4965, allocations: 0 / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.4966, allocations: 11.44 kB / 1.375 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.4966, allocations: 0 / 1.375 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.5097, allocations: 1.411 MB / 1.376 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.51, allocations: 202.8 kB / 1.377 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.12, allocations: 0 / 1.377 GB, free: 11.67 MB / 0.8855 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