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.962/1.962, allocations: 390.5 MB / 398 MB, free: 10.96 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.001017/0.001017, allocations: 183.8 kB / 491.2 MB, free: 1.598 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.263/1.263, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.0008768/0.0008766, allocations: 99.33 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.678e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.373/3.571, allocations: 1.713 GB / 2.925 GB, free: 125.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/3.571, allocations: 83.89 kB / 2.926 GB, free: 125.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.04662/3.618, allocations: 26.18 MB / 2.951 GB, free: 104.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.674e-06/3.618, allocations: 4.875 kB / 2.951 GB, free: 104.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.811e-06/3.618, allocations: 0 / 2.951 GB, free: 104.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001999/3.618, allocations: 353.7 kB / 2.951 GB, free: 103.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/3.618, allocations: 8.031 kB / 2.951 GB, free: 103.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/3.619, allocations: 32.5 kB / 2.951 GB, free: 103.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.406e-05/3.619, allocations: 163.1 kB / 2.952 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/3.619, allocations: 4 kB / 2.952 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/3.619, allocations: 5.969 kB / 2.952 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.793e-05/3.619, allocations: 11.94 kB / 2.952 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/3.619, allocations: 49.61 kB / 2.952 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/3.619, allocations: 0 / 2.952 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/3.619, allocations: 0 / 2.952 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/3.619, allocations: 0 / 2.952 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/3.619, allocations: 225.3 kB / 2.952 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/3.619, allocations: 26.56 kB / 2.952 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/3.619, allocations: 12.61 kB / 2.952 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/3.619, allocations: 0 / 2.952 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/3.619, allocations: 42.55 kB / 2.952 GB, free: 103.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/3.619, allocations: 0 / 2.952 GB, free: 103.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/3.62, allocations: 29.7 kB / 2.952 GB, free: 103 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/3.62, allocations: 55.44 kB / 2.952 GB, free: 103 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/3.62, allocations: 100.9 kB / 2.952 GB, free: 102.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/3.62, allocations: 25.7 kB / 2.952 GB, free: 102.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/3.62, allocations: 91.89 kB / 2.952 GB, free: 102.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/3.62, allocations: 3.906 kB / 2.952 GB, free: 102.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/3.62, allocations: 3.938 kB / 2.952 GB, free: 102.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/3.62, allocations: 314.8 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/3.62, allocations: 7.984 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/3.62, allocations: 7.875 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/3.62, allocations: 8 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/3.62, allocations: 0 / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.506e-05/3.62, allocations: 49.61 kB / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/3.62, allocations: 5.406 kB / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/3.62, allocations: 0 / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/3.62, allocations: 3.953 kB / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/3.62, allocations: 15.17 kB / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/3.62, allocations: 0 / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/3.62, allocations: 15.89 kB / 2.953 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/3.62, allocations: 4 kB / 2.953 GB, free: 102.3 MB / 1.151 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 5.054e-05/3.62, allocations: 106 kB / 2.953 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.183e-05/3.62, allocations: 33.7 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/3.62, allocations: 7.938 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/3.62, allocations: 11 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/3.62, allocations: 336 / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/3.62, allocations: 3.938 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/3.62, allocations: 0 / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/3.621, allocations: 138.2 kB / 2.953 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/3.621, allocations: 0 / 2.953 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/3.621, allocations: 4 kB / 2.953 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/3.621, allocations: 0 / 2.953 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/3.621, allocations: 0 / 2.953 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/3.621, allocations: 3.953 kB / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.621, allocations: 0 / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.617e-05/3.621, allocations: 131.2 kB / 2.953 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/3.621, allocations: 92.86 kB / 2.953 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/3.621, allocations: 3.984 kB / 2.953 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/3.621, allocations: 0 / 2.953 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/3.621, allocations: 7.953 kB / 2.953 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/3.621, allocations: 4 kB / 2.953 GB, free: 101.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.844e-05/3.621, allocations: 83.16 kB / 2.953 GB, free: 101.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.132e-06/3.621, allocations: 0 / 2.953 GB, free: 101.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002926/3.621, allocations: 50.36 kB / 2.953 GB, free: 101.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 (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.0007208/3.622, allocations: 1.214 MB / 2.955 GB, free: 100.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.785e-05/3.622, allocations: 15.05 kB / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/3.622, allocations: 0 / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/3.622, allocations: 4 kB / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/3.622, allocations: 27.86 kB / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/3.623, allocations: 90.09 kB / 2.955 GB, free: 100.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/3.623, allocations: 0.6807 MB / 2.955 GB, free: 99.48 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 7.071e-05/3.623, allocations: 7.938 kB / 2.955 GB, free: 99.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/3.623, allocations: 15.25 kB / 2.955 GB, free: 99.46 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/3.623, allocations: 0 / 2.955 GB, free: 99.46 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/3.648, allocations: 5.487 MB / 2.961 GB, free: 93.98 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/3.648, allocations: 160.6 kB / 2.961 GB, free: 93.79 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/5.198, allocations: 0 / 2.961 GB, free: 93.79 MB / 1.151 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