Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.947/1.947, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.0009358/0.0009358, allocations: 176.9 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.208/1.208, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008665/0.0008666, allocations: 103.9 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.274e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1923, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.139/3.331, allocations: 1.714 GB / 2.933 GB, free: 122.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/3.331, allocations: 83.94 kB / 2.933 GB, free: 122.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.04423/3.376, allocations: 26.7 MB / 2.959 GB, free: 95.76 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.112e-06/3.376, allocations: 0.875 kB / 2.959 GB, free: 95.76 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.25e-06/3.376, allocations: 0 / 2.959 GB, free: 95.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001851/3.376, allocations: 358.4 kB / 2.959 GB, free: 95.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/3.376, allocations: 8.031 kB / 2.959 GB, free: 95.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.303e-05/3.376, allocations: 34.56 kB / 2.959 GB, free: 95.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/3.376, allocations: 27.95 kB / 2.959 GB, free: 95.29 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.176e-05/3.376, allocations: 163.9 kB / 2.959 GB, free: 95.09 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/3.376, allocations: 1.969 kB / 2.959 GB, free: 95.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/3.376, allocations: 0 / 2.959 GB, free: 95.09 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/3.377, allocations: 53.66 kB / 2.959 GB, free: 95.03 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/3.377, allocations: 3.953 kB / 2.959 GB, free: 95.03 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/3.377, allocations: 0 / 2.959 GB, free: 95.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/3.377, allocations: 0 / 2.959 GB, free: 95.03 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/3.377, allocations: 11.94 kB / 2.959 GB, free: 95.02 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/3.377, allocations: 252.9 kB / 2.96 GB, free: 94.72 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/3.377, allocations: 22.58 kB / 2.96 GB, free: 94.69 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/3.377, allocations: 20.88 kB / 2.96 GB, free: 94.66 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/3.377, allocations: 3.984 kB / 2.96 GB, free: 94.66 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.007e-05/3.377, allocations: 30.56 kB / 2.96 GB, free: 94.62 MB / 1.167 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/3.377, allocations: 0 / 2.96 GB, free: 94.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=2): time 0.0001012/3.377, allocations: 37.64 kB / 2.96 GB, free: 94.58 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.622e-05/3.377, allocations: 55.39 kB / 2.96 GB, free: 94.51 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/3.377, allocations: 97 kB / 2.96 GB, free: 94.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/3.377, allocations: 33.73 kB / 2.96 GB, free: 94.37 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/3.377, allocations: 88.02 kB / 2.96 GB, free: 94.28 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/3.377, allocations: 11.84 kB / 2.96 GB, free: 94.27 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/3.377, allocations: 0 / 2.96 GB, free: 94.27 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/3.377, allocations: 314.8 kB / 2.96 GB, free: 93.95 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/3.377, allocations: 8 kB / 2.96 GB, free: 93.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/3.377, allocations: 4 kB / 2.96 GB, free: 93.94 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/3.377, allocations: 7.984 kB / 2.96 GB, free: 93.93 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/3.377, allocations: 0 / 2.96 GB, free: 93.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.606e-05/3.377, allocations: 53.62 kB / 2.96 GB, free: 93.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/3.377, allocations: 13.36 kB / 2.96 GB, free: 93.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/3.377, allocations: 0 / 2.96 GB, free: 93.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/3.377, allocations: 3.984 kB / 2.96 GB, free: 93.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/3.378, allocations: 4 kB / 2.96 GB, free: 93.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/3.378, allocations: 0 / 2.96 GB, free: 93.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/3.378, allocations: 15.89 kB / 2.96 GB, free: 93.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/3.378, allocations: 0 / 2.96 GB, free: 93.84 MB / 1.167 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 () * 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 3.32e-05/3.378, allocations: 109 kB / 2.961 GB, free: 93.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/3.378, allocations: 8 kB / 2.961 GB, free: 93.72 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.573e-05/3.378, allocations: 11.08 kB / 2.961 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/3.378, allocations: 0 / 2.961 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/3.378, allocations: 0 / 2.961 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-06/3.378, allocations: 0 / 2.961 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.879e-05/3.378, allocations: 153.7 kB / 2.961 GB, free: 93.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/3.378, allocations: 0 / 2.961 GB, free: 93.51 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/3.378, allocations: 4 kB / 2.961 GB, free: 93.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/3.378, allocations: 0 / 2.961 GB, free: 93.51 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/3.378, allocations: 4 kB / 2.961 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/3.378, allocations: 3.953 kB / 2.961 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/3.378, allocations: 0 / 2.961 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.099e-05/3.378, allocations: 139.5 kB / 2.961 GB, free: 93.35 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/3.378, allocations: 81.09 kB / 2.961 GB, free: 93.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/3.378, allocations: 4 kB / 2.961 GB, free: 93.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/3.378, allocations: 0 / 2.961 GB, free: 93.25 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/3.378, allocations: 7.984 kB / 2.961 GB, free: 93.24 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/3.378, allocations: 0 / 2.961 GB, free: 93.24 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.913e-05/3.378, allocations: 91.59 kB / 2.961 GB, free: 93.15 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.41e-07/3.378, allocations: 0 / 2.961 GB, free: 93.15 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002736/3.379, allocations: 55.92 kB / 2.961 GB, free: 93.09 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 (2): * Single equations (assignments): 2 * 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.0006375/3.379, allocations: 1.146 MB / 2.962 GB, free: 91.93 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 6.853e-05/3.379, allocations: 8 kB / 2.962 GB, free: 91.92 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/3.379, allocations: 0 / 2.962 GB, free: 91.92 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/3.379, allocations: 8 kB / 2.962 GB, free: 91.91 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/3.379, allocations: 11.94 kB / 2.962 GB, free: 91.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/3.38, allocations: 100.3 kB / 2.962 GB, free: 91.77 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/3.38, allocations: 0.6886 MB / 2.963 GB, free: 91.05 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 6.978e-05/3.38, allocations: 4 kB / 2.963 GB, free: 91.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/3.38, allocations: 11.44 kB / 2.963 GB, free: 91.04 MB / 1.167 GB Notification: Performance of SimCode: time 3e-07/3.38, allocations: 0 / 2.963 GB, free: 91.04 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/3.399, allocations: 12.14 MB / 2.975 GB, free: 79.04 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001103/3.399, allocations: 171 kB / 2.975 GB, free: 78.82 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/5.063, allocations: 4 kB / 2.975 GB, free: 78.82 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat does not exist to compare? outputFormat=mat