Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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 1.951/1.951, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.0009308/0.0009308, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008212/0.0008212, allocations: 92 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.383e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.173/3.369, allocations: 1.716 GB / 2.934 GB, free: 120.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/3.37, allocations: 83.95 kB / 2.935 GB, free: 120.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09219/3.462, allocations: 56.17 MB / 2.989 GB, free: 63.64 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.052e-06/3.462, allocations: 0 / 2.989 GB, free: 63.64 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.308e-06/3.462, allocations: 0 / 2.989 GB, free: 63.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005635/3.462, allocations: 466.9 kB / 2.99 GB, free: 63.14 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/3.462, allocations: 8.031 kB / 2.99 GB, free: 63.13 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/3.463, allocations: 42.55 kB / 2.99 GB, free: 63.08 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/3.463, allocations: 55.75 kB / 2.99 GB, free: 63.03 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/3.463, allocations: 195.6 kB / 2.99 GB, free: 62.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/3.463, allocations: 4 kB / 2.99 GB, free: 62.79 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/3.463, allocations: 12 kB / 2.99 GB, free: 62.78 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/3.463, allocations: 155.9 kB / 2.99 GB, free: 62.61 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/3.463, allocations: 0 / 2.99 GB, free: 62.61 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/3.464, allocations: 7.938 kB / 2.99 GB, free: 62.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/3.464, allocations: 8 kB / 2.99 GB, free: 62.59 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/3.464, allocations: 87.91 kB / 2.99 GB, free: 62.51 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/3.464, allocations: 0.8319 MB / 2.991 GB, free: 61.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/3.465, allocations: 98.5 kB / 2.991 GB, free: 61.49 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/3.465, allocations: 56.84 kB / 2.991 GB, free: 61.43 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/3.465, allocations: 4.141 kB / 2.991 GB, free: 61.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/3.465, allocations: 34.55 kB / 2.991 GB, free: 61.39 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/3.465, allocations: 4 kB / 2.991 GB, free: 61.38 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0007108/3.466, allocations: 194.3 kB / 2.992 GB, free: 61.18 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/3.466, allocations: 55.41 kB / 2.992 GB, free: 61.12 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/3.466, allocations: 134.7 kB / 2.992 GB, free: 60.98 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/3.466, allocations: 25.7 kB / 2.992 GB, free: 60.95 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/3.466, allocations: 103.9 kB / 2.992 GB, free: 60.84 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/3.466, allocations: 23.66 kB / 2.992 GB, free: 60.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/3.466, allocations: 4 kB / 2.992 GB, free: 60.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/3.466, allocations: 326.8 kB / 2.992 GB, free: 60.49 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/3.466, allocations: 43.98 kB / 2.992 GB, free: 60.45 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/3.466, allocations: 82 kB / 2.992 GB, free: 60.34 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/3.466, allocations: 56 kB / 2.992 GB, free: 60.29 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/3.466, allocations: 4 kB / 2.992 GB, free: 60.29 MB / 1.167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006255/3.467, allocations: 230.1 kB / 2.993 GB, free: 60.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/3.467, allocations: 9.406 kB / 2.993 GB, free: 60.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/3.467, allocations: 0 / 2.993 GB, free: 60.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/3.467, allocations: 88.83 kB / 2.993 GB, free: 59.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/3.467, allocations: 43.91 kB / 2.993 GB, free: 59.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.469, allocations: 1.543 MB / 2.994 GB, free: 58.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/3.469, allocations: 27.95 kB / 2.994 GB, free: 58.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/3.469, allocations: 15.92 kB / 2.994 GB, free: 58.18 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 5.7e-05/3.469, allocations: 113.8 kB / 2.994 GB, free: 58.07 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/3.469, allocations: 7.906 kB / 2.994 GB, free: 58.06 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/3.47, allocations: 258.8 kB / 2.995 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/3.47, allocations: 0 / 2.995 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/3.47, allocations: 4 kB / 2.995 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/3.47, allocations: 3.984 kB / 2.995 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/3.47, allocations: 241.4 kB / 2.995 GB, free: 57.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/3.47, allocations: 4 kB / 2.995 GB, free: 57.51 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/3.47, allocations: 35.95 kB / 2.995 GB, free: 57.47 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/3.471, allocations: 88.77 kB / 2.995 GB, free: 57.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/3.471, allocations: 3.984 kB / 2.995 GB, free: 57.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/3.472, allocations: 1.579 MB / 2.997 GB, free: 55.66 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/3.472, allocations: 0 / 2.997 GB, free: 55.66 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/3.473, allocations: 316.1 kB / 2.997 GB, free: 55.33 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/3.473, allocations: 85.02 kB / 2.997 GB, free: 55.23 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/3.473, allocations: 3.984 kB / 2.997 GB, free: 55.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/3.473, allocations: 23.98 kB / 2.997 GB, free: 55.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/3.473, allocations: 11.98 kB / 2.997 GB, free: 55.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/3.473, allocations: 11.98 kB / 2.997 GB, free: 55.18 MB / 1.167 GB Notification: Performance of sorting global known variables: time 4.279e-05/3.473, allocations: 108.8 kB / 2.997 GB, free: 55.07 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.473, allocations: 0 / 2.997 GB, free: 55.07 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003799/3.473, allocations: 91.92 kB / 2.997 GB, free: 54.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/3.475, allocations: 1.353 MB / 2.999 GB, free: 53.61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00046/3.475, allocations: 246.5 kB / 2.999 GB, free: 53.35 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/3.475, allocations: 0 / 2.999 GB, free: 53.35 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/3.475, allocations: 206.7 kB / 2.999 GB, free: 53.14 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/3.476, allocations: 32.08 kB / 2.999 GB, free: 53.11 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/3.476, allocations: 260 kB / 2.999 GB, free: 52.82 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/3.476, allocations: 0.7127 MB / 3 GB, free: 52.07 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001481/3.476, allocations: 28.86 kB / 3 GB, free: 52.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/3.477, allocations: 31.41 kB / 3 GB, free: 52.01 MB / 1.167 GB Notification: Performance of SimCode: time 2.41e-07/3.477, allocations: 0 / 3 GB, free: 52.01 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/3.5, allocations: 15.86 MB / 3.015 GB, free: 36.34 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001138/3.5, allocations: 197.4 kB / 3.016 GB, free: 36.12 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/5.486, allocations: 4 kB / 3.016 GB, free: 36.11 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat