Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001405/0.001405, allocations: 179.9 kB / 0.4901 GB, free: 2.09 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.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001126/0.001125, allocations: 94.75 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 11.5 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3484, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.967/6.315, allocations: 2.176 GB / 3.406 GB, free: 215.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/6.315, allocations: 88.97 kB / 3.406 GB, free: 215.6 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2612/6.577, allocations: 142.6 MB / 3.545 GB, free: 87.23 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/6.577, allocations: 0 / 3.545 GB, free: 87.23 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.722e-05/6.577, allocations: 12 kB / 3.545 GB, free: 87.22 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000538/6.577, allocations: 463 kB / 3.545 GB, free: 86.72 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/6.577, allocations: 8.562 kB / 3.545 GB, free: 86.71 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/6.577, allocations: 58.55 kB / 3.545 GB, free: 86.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/6.577, allocations: 27.72 kB / 3.545 GB, free: 86.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/6.578, allocations: 258.5 kB / 3.546 GB, free: 86.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/6.578, allocations: 16.44 kB / 3.546 GB, free: 86.31 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/6.578, allocations: 23.95 kB / 3.546 GB, free: 86.29 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/6.578, allocations: 333.2 kB / 3.546 GB, free: 85.89 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/6.578, allocations: 3.984 kB / 3.546 GB, free: 85.89 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/6.578, allocations: 11.94 kB / 3.546 GB, free: 85.88 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/6.578, allocations: 4 kB / 3.546 GB, free: 85.87 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/6.578, allocations: 123.8 kB / 3.546 GB, free: 85.75 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/6.58, allocations: 1.977 MB / 3.548 GB, free: 83.66 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/6.58, allocations: 181.3 kB / 3.548 GB, free: 83.48 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/6.58, allocations: 79.28 kB / 3.548 GB, free: 83.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/6.58, allocations: 113.7 kB / 3.548 GB, free: 83.28 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/6.58, allocations: 0 / 3.548 GB, free: 83.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/6.58, allocations: 49.42 kB / 3.549 GB, free: 83.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/6.58, allocations: 130.6 kB / 3.549 GB, free: 83.08 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/6.58, allocations: 299.6 kB / 3.549 GB, free: 82.79 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/6.58, allocations: 29.64 kB / 3.549 GB, free: 82.75 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/6.58, allocations: 159.7 kB / 3.549 GB, free: 82.59 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/6.58, allocations: 7.984 kB / 3.549 GB, free: 82.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/6.58, allocations: 4 kB / 3.549 GB, free: 82.58 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/6.58, allocations: 326.8 kB / 3.549 GB, free: 82.25 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/6.58, allocations: 11.98 kB / 3.549 GB, free: 82.24 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/6.58, allocations: 50.88 kB / 3.55 GB, free: 82.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/6.58, allocations: 19.98 kB / 3.55 GB, free: 82.14 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/6.58, allocations: 0 / 3.55 GB, free: 82.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001715/6.581, allocations: 105.2 kB / 3.55 GB, free: 82.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/6.581, allocations: 8 kB / 3.55 GB, free: 82.03 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/6.581, allocations: 0 / 3.55 GB, free: 82.03 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/6.581, allocations: 4 kB / 3.55 GB, free: 82.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/6.581, allocations: 19.92 kB / 3.55 GB, free: 82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/6.581, allocations: 0 / 3.55 GB, free: 82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/6.581, allocations: 27.64 kB / 3.55 GB, free: 81.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/6.581, allocations: 4 kB / 3.55 GB, free: 81.97 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001149/6.581, allocations: 213.3 kB / 3.55 GB, free: 81.75 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/6.581, allocations: 132.6 kB / 3.55 GB, free: 81.62 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/6.581, allocations: 122 kB / 3.55 GB, free: 81.49 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/6.581, allocations: 184.2 kB / 3.55 GB, free: 81.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-05/6.581, allocations: 180.2 kB / 3.55 GB, free: 81.12 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/6.581, allocations: 180.2 kB / 3.551 GB, free: 80.93 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/6.582, allocations: 485 kB / 3.551 GB, free: 80.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/6.582, allocations: 101 kB / 3.551 GB, free: 80.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/6.582, allocations: 109 kB / 3.551 GB, free: 80.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-05/6.582, allocations: 180.2 kB / 3.551 GB, free: 80 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/6.582, allocations: 180.3 kB / 3.552 GB, free: 79.82 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.883e-05/6.582, allocations: 188.2 kB / 3.552 GB, free: 79.62 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-05/6.582, allocations: 176.3 kB / 3.552 GB, free: 79.45 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/6.582, allocations: 343.4 kB / 3.552 GB, free: 79.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/6.582, allocations: 205.8 kB / 3.553 GB, free: 78.86 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/6.582, allocations: 181.2 kB / 3.553 GB, free: 78.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/6.582, allocations: 105 kB / 3.553 GB, free: 78.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/6.582, allocations: 180.2 kB / 3.553 GB, free: 78.38 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/6.582, allocations: 105 kB / 3.553 GB, free: 78.27 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001901/6.582, allocations: 235 kB / 3.553 GB, free: 78.05 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.582, allocations: 3.938 kB / 3.553 GB, free: 78.04 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003943/6.583, allocations: 59.98 kB / 3.553 GB, free: 77.98 MB / 1.167 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 (0): * Single equations (assignments): 0 * 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.0009661/6.584, allocations: 1.331 MB / 3.555 GB, free: 76.63 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 9.66e-05/6.584, allocations: 24.25 kB / 3.555 GB, free: 76.61 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.584, allocations: 0 / 3.555 GB, free: 76.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/6.584, allocations: 0 / 3.555 GB, free: 76.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/6.584, allocations: 0.5914 MB / 3.555 GB, free: 76.02 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/6.586, allocations: 2.327 MB / 3.558 GB, free: 73.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/6.586, allocations: 0.7482 MB / 3.558 GB, free: 72.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001093/6.586, allocations: 30.27 kB / 3.558 GB, free: 72.79 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/6.587, allocations: 67.41 kB / 3.558 GB, free: 72.72 MB / 1.167 GB Notification: Performance of SimCode: time 2.91e-07/6.587, allocations: 0 / 3.558 GB, free: 72.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/6.616, allocations: 13.92 MB / 3.572 GB, free: 58.98 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/6.616, allocations: 194 kB / 3.572 GB, free: 58.74 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/8.927, allocations: 5.25 kB / 3.572 GB, free: 58.73 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat