Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001142, allocations: 87.3 kB / 15.06 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8831, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001363/0.8845, allocations: 1.001 MB / 0.9548 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1882/1.073, allocations: 134.1 MB / 1.086 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/1.073, allocations: 0 / 1.086 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/1.073, allocations: 3.938 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/1.073, allocations: 3.984 kB / 1.086 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/1.073, allocations: 99.55 kB / 1.086 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/1.073, allocations: 23.88 kB / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/1.073, allocations: 0 / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/1.074, allocations: 7.984 kB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.013e-05/1.074, allocations: 7.938 kB / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/1.074, allocations: 0 / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/1.074, allocations: 167.7 kB / 1.086 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/1.074, allocations: 11.98 kB / 1.086 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/1.074, allocations: 29.64 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/1.074, allocations: 78.11 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1.074, allocations: 0 / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.415e-06/1.074, allocations: 4 kB / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.074, allocations: 0 / 1.086 GB, free: 8.246 MB / 0.8419 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.0003817/1.075, allocations: 351.2 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.075, allocations: 12.03 kB / 1.087 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/1.075, allocations: 34.56 kB / 1.087 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005066/1.075, allocations: 35.95 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/1.075, allocations: 167.1 kB / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/1.075, allocations: 0 / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/1.075, allocations: 0 / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/1.076, allocations: 49.66 kB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.076, allocations: 3.953 kB / 1.087 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/1.076, allocations: 0 / 1.087 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.076, allocations: 3.938 kB / 1.087 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/1.076, allocations: 23.92 kB / 1.087 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/1.076, allocations: 249 kB / 1.087 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/1.076, allocations: 22.58 kB / 1.087 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/1.076, allocations: 16.88 kB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.076, allocations: 3.984 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.076, allocations: 34.56 kB / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/1.076, allocations: 0 / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/1.076, allocations: 49.53 kB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.076, allocations: 55.41 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/1.077, allocations: 105.8 kB / 1.087 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/1.077, allocations: 25.7 kB / 1.087 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/1.077, allocations: 84.08 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/1.077, allocations: 16.02 kB / 1.087 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/1.077, allocations: 4 kB / 1.087 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.077, allocations: 310.8 kB / 1.088 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/1.077, allocations: 7.984 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/1.077, allocations: 8 kB / 1.088 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/1.077, allocations: 15.98 kB / 1.088 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.077, allocations: 4 kB / 1.088 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001726/1.077, allocations: 61.56 kB / 1.088 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.077, allocations: 7.984 kB / 1.088 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.077, allocations: 4 kB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.077, allocations: 0 / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/1.077, allocations: 7.984 kB / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.077, allocations: 0 / 1.088 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.077, allocations: 15.94 kB / 1.088 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/1.077, allocations: 0 / 1.088 GB, free: 6.266 MB / 0.8419 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 () * Number of clocked 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 7.366e-05/1.078, allocations: 109.8 kB / 1.088 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/1.078, allocations: 11.86 kB / 1.088 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/1.078, allocations: 7.125 kB / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.078, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.078, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/1.078, allocations: 0 / 1.088 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/1.078, allocations: 149.7 kB / 1.088 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.078, allocations: 4 kB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/1.078, allocations: 11.94 kB / 1.088 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.078, allocations: 0 / 1.088 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/1.078, allocations: 3.953 kB / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.078, allocations: 0 / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.078, allocations: 0 / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/1.078, allocations: 135.5 kB / 1.088 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/1.078, allocations: 85.03 kB / 1.088 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/1.078, allocations: 4.031 kB / 1.088 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/1.078, allocations: 7.953 kB / 1.088 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/1.078, allocations: 4 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.078, allocations: 0 / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.596e-05/1.078, allocations: 91.27 kB / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.078, allocations: 0 / 1.088 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002447/1.079, allocations: 19.98 kB / 1.089 GB, free: 5.539 MB / 0.8419 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 (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.000482/1.079, allocations: 0.6812 MB / 1.089 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.079, allocations: 15.98 kB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.079, allocations: 0 / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/1.079, allocations: 12.03 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.08, allocations: 20.7 kB / 1.089 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/1.08, allocations: 168 kB / 1.089 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/1.08, allocations: 0.6776 MB / 1.09 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.869e-05/1.08, allocations: 12.05 kB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/1.08, allocations: 15.42 kB / 1.09 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/1.08, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/1.093, allocations: 1.359 MB / 1.091 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.094, allocations: 203.9 kB / 1.092 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.756, allocations: 5.625 kB / 1.092 GB, free: 2.402 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat does not exist to compare? outputFormat=mat