Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.909/1.909, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.0009764/0.0009765, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.234/1.234, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0007953/0.0007953, allocations: 99.83 kB / 0.9318 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.625e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1984, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.091/3.289, allocations: 1.732 GB / 2.951 GB, free: 68.65 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/3.289, allocations: 89.39 kB / 2.951 GB, free: 68.57 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6092/3.899, allocations: 86.39 MB / 3.035 GB, free: 397.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.383e-06/3.899, allocations: 2.188 kB / 3.035 GB, free: 397.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.325e-05/3.899, allocations: 4.594 kB / 3.035 GB, free: 397.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007806/3.899, allocations: 0.4998 MB / 3.036 GB, free: 396.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/3.899, allocations: 9.125 kB / 3.036 GB, free: 396.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/3.9, allocations: 49.8 kB / 3.036 GB, free: 396.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/3.9, allocations: 76.78 kB / 3.036 GB, free: 396.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/3.9, allocations: 220.4 kB / 3.036 GB, free: 396.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/3.901, allocations: 40.47 kB / 3.036 GB, free: 396.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/3.901, allocations: 19.47 kB / 3.036 GB, free: 396.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/3.901, allocations: 244 kB / 3.036 GB, free: 396.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/3.901, allocations: 0 / 3.036 GB, free: 396.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/3.901, allocations: 7.844 kB / 3.036 GB, free: 396.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/3.901, allocations: 15.83 kB / 3.036 GB, free: 396.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/3.901, allocations: 130.4 kB / 3.036 GB, free: 396.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/3.903, allocations: 1.183 MB / 3.038 GB, free: 395.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/3.903, allocations: 195.1 kB / 3.038 GB, free: 395.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/3.903, allocations: 59.58 kB / 3.038 GB, free: 395.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/3.903, allocations: 1.875 kB / 3.038 GB, free: 395.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/3.903, allocations: 36.16 kB / 3.038 GB, free: 395.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/3.903, allocations: 0 / 3.038 GB, free: 395.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001149/3.905, allocations: 283 kB / 3.038 GB, free: 395.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/3.905, allocations: 58.56 kB / 3.038 GB, free: 395.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/3.905, allocations: 178 kB / 3.038 GB, free: 395.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/3.905, allocations: 32.27 kB / 3.038 GB, free: 395.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/3.905, allocations: 133 kB / 3.038 GB, free: 395 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/3.905, allocations: 44.27 kB / 3.039 GB, free: 395 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/3.905, allocations: 4.125 kB / 3.039 GB, free: 395 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/3.905, allocations: 324.1 kB / 3.039 GB, free: 394.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/3.905, allocations: 53.56 kB / 3.039 GB, free: 394.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/3.905, allocations: 120.1 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/3.905, allocations: 66.38 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/3.905, allocations: 1.375 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001152/3.906, allocations: 343.5 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/3.906, allocations: 6.312 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/3.906, allocations: 2.625 kB / 3.039 GB, free: 394.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/3.908, allocations: 169.4 kB / 3.04 GB, free: 394.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/3.908, allocations: 47.41 kB / 3.04 GB, free: 394.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/3.911, allocations: 3.021 MB / 3.043 GB, free: 392 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/3.911, allocations: 38.11 kB / 3.043 GB, free: 392 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/3.911, allocations: 9.266 kB / 3.043 GB, free: 392 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/3.911, allocations: 119.9 kB / 3.043 GB, free: 391.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/3.911, allocations: 15.41 kB / 3.043 GB, free: 391.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/3.912, allocations: 355.3 kB / 3.043 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/3.912, allocations: 5.781 kB / 3.043 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/3.912, allocations: 0.5625 kB / 3.043 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/3.912, allocations: 4.359 kB / 3.043 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/3.913, allocations: 281.9 kB / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/3.913, allocations: 0 / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/3.913, allocations: 25.53 kB / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008689/3.914, allocations: 166 kB / 3.044 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/3.914, allocations: 9.703 kB / 3.044 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/3.916, allocations: 3.062 MB / 3.047 GB, free: 389 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/3.916, allocations: 0 / 3.047 GB, free: 389 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/3.917, allocations: 407.5 kB / 3.047 GB, free: 388.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/3.917, allocations: 121.1 kB / 3.047 GB, free: 388.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/3.918, allocations: 5.625 kB / 3.047 GB, free: 388.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/3.918, allocations: 23.77 kB / 3.047 GB, free: 388.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/3.918, allocations: 15.67 kB / 3.047 GB, free: 388.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/3.918, allocations: 8 kB / 3.047 GB, free: 388.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001042/3.918, allocations: 140.1 kB / 3.047 GB, free: 388.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.918, allocations: 0 / 3.047 GB, free: 388.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005272/3.919, allocations: 123.3 kB / 3.047 GB, free: 388.6 MB / 1.151 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001861/3.92, allocations: 1.55 MB / 3.049 GB, free: 387.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007369/3.921, allocations: 408.4 kB / 3.049 GB, free: 387.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/3.921, allocations: 0 / 3.049 GB, free: 387.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/3.922, allocations: 344.2 kB / 3.05 GB, free: 387.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/3.922, allocations: 49.77 kB / 3.05 GB, free: 387.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/3.923, allocations: 366.4 kB / 3.05 GB, free: 387.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/3.923, allocations: 0.7428 MB / 3.051 GB, free: 386.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001845/3.923, allocations: 39.92 kB / 3.051 GB, free: 386.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/3.923, allocations: 53.11 kB / 3.051 GB, free: 386.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/3.923, allocations: 0 / 3.051 GB, free: 386.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/3.958, allocations: 20.78 MB / 3.071 GB, free: 385.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/3.959, allocations: 199.2 kB / 3.071 GB, free: 384.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/6.119, allocations: 3.938 kB / 3.071 GB, free: 384.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat