Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001172/0.001171, allocations: 182.9 kB / 0.4901 GB, free: 2.234 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.534/1.534, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009689/0.0009688, allocations: 108.7 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 13.86 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2874, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.4791, allocations: 150.6 MB / 1.376 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.4795, allocations: 87.94 kB / 1.376 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003076/0.4826, allocations: 1.015 MB / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4826, allocations: 0 / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4827, allocations: 0 / 1.377 GB, free: 1.73 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.4832, allocations: 383 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4832, allocations: 8.031 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.4833, allocations: 38.55 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.4833, allocations: 4 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4835, allocations: 166.9 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4835, allocations: 4 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4835, allocations: 0 / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.4838, allocations: 85.59 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4838, allocations: 0 / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4838, allocations: 0 / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.4838, allocations: 0 / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.4841, allocations: 87.92 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.4846, allocations: 288.9 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.4849, allocations: 70.47 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4849, allocations: 4 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4849, allocations: 34.56 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4849, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005586/0.4855, allocations: 161.6 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4856, allocations: 55.36 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.4856, allocations: 109 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4857, allocations: 29.64 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.4857, allocations: 88.14 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.4858, allocations: 7.844 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.4858, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4859, allocations: 318.8 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4861, allocations: 39.95 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4862, allocations: 39.97 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4864, allocations: 47.95 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4864, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003506/0.4867, allocations: 121.5 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4868, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4868, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4868, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.487, allocations: 23.98 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.487, allocations: 0 / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4871, allocations: 27.92 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4871, allocations: 7.875 kB / 1.38 GB, free: 15.3 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 9.302e-05/0.4872, allocations: 110.6 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4872, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.4873, allocations: 15.91 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4873, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4873, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4873, allocations: 3.938 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4875, allocations: 177.6 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4875, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4876, allocations: 19.98 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4876, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.4876, allocations: 4 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4876, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4877, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.4881, allocations: 223.3 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4881, allocations: 85.05 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4881, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4883, allocations: 19.98 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.4883, allocations: 4.359 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4883, allocations: 4 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.4884, allocations: 83.28 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4884, allocations: 0 / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002133/0.4886, allocations: 8 kB / 1.38 GB, free: 14.46 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.0007931/0.4894, allocations: 0.7608 MB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.4898, allocations: 91.86 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4898, allocations: 0 / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.49, allocations: 47.95 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.4902, allocations: 12.69 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.4907, allocations: 178.4 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4911, allocations: 0.6848 MB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.842e-05/0.4911, allocations: 4 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.4912, allocations: 11.44 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.4912, allocations: 0 / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.5048, allocations: 1.418 MB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5051, allocations: 218 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.215, allocations: 0 / 1.384 GB, free: 11.1 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat does not exist to compare? outputFormat=mat