Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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 2.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001407/0.001407, allocations: 174.9 kB / 0.4901 GB, free: 2.234 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.685/1.685, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.0009117/0.0009119, allocations: 91.36 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 9.312 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2863, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.516, allocations: 176.7 MB / 1.402 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5163, allocations: 79.95 kB / 1.402 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.004041/0.5204, allocations: 1.662 MB / 1.404 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5204, allocations: 0 / 1.404 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5204, allocations: 4 kB / 1.404 GB, free: 2.723 MB / 0.9011 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.0003584/0.5208, allocations: 327.3 kB / 1.404 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5209, allocations: 8.562 kB / 1.404 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.5209, allocations: 42.52 kB / 1.404 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.521, allocations: 7.891 kB / 1.404 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.5211, allocations: 163.1 kB / 1.404 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.5212, allocations: 33.89 kB / 1.404 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.5212, allocations: 7.922 kB / 1.404 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.5213, allocations: 41.69 kB / 1.404 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5214, allocations: 0 / 1.404 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5214, allocations: 3.953 kB / 1.404 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5214, allocations: 0 / 1.404 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.5215, allocations: 11.98 kB / 1.404 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.5217, allocations: 153.7 kB / 1.404 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.5218, allocations: 34.61 kB / 1.404 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.522, allocations: 89.05 kB / 1.404 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.522, allocations: 38.64 kB / 1.404 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.522, allocations: 0 / 1.404 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002379/0.5223, allocations: 53.69 kB / 1.404 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.5223, allocations: 59.36 kB / 1.405 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.5224, allocations: 92.98 kB / 1.405 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5224, allocations: 29.64 kB / 1.405 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.5225, allocations: 80.14 kB / 1.405 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.5225, allocations: 15.84 kB / 1.405 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.5225, allocations: 0 / 1.405 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.5226, allocations: 310.8 kB / 1.405 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.5227, allocations: 11.98 kB / 1.405 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.5227, allocations: 11.94 kB / 1.405 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.5228, allocations: 7.984 kB / 1.405 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5228, allocations: 0 / 1.405 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001246/0.5229, allocations: 53.59 kB / 1.405 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5229, allocations: 4.938 kB / 1.405 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5229, allocations: 0 / 1.405 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.523, allocations: 0 / 1.405 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.523, allocations: 8 kB / 1.405 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5231, allocations: 7.938 kB / 1.405 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.5231, allocations: 7.938 kB / 1.405 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.5231, allocations: 0 / 1.405 GB, free: 0.7969 MB / 0.9011 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 8.713e-05/0.5232, allocations: 113.8 kB / 1.405 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5232, allocations: 0 / 1.405 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5234, allocations: 57.62 kB / 1.405 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5234, allocations: 0 / 1.405 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5234, allocations: 4 kB / 1.405 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.5234, allocations: 8.031 kB / 1.405 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.5236, allocations: 157.6 kB / 1.405 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5236, allocations: 4 kB / 1.405 GB, free: 404 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.5236, allocations: 4 kB / 1.405 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5236, allocations: 0 / 1.405 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.5236, allocations: 0 / 1.405 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5237, allocations: 0 / 1.405 GB, free: 400 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5237, allocations: 4 kB / 1.405 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.5238, allocations: 85 kB / 1.406 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.5239, allocations: 85.02 kB / 1.406 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5239, allocations: 0 / 1.406 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.524, allocations: 3.984 kB / 1.406 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.524, allocations: 4 kB / 1.406 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.524, allocations: 0 / 1.406 GB, free: 180 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.5241, allocations: 75.28 kB / 1.406 GB, free: 104 kB / 0.9011 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5241, allocations: 4 kB / 1.406 GB, free: 100 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001932/0.5243, allocations: 12 kB / 1.406 GB, free: 88 kB / 0.9011 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 (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 Backend phase and start with SimCode phase: time 0.6431/1.167, allocations: 0.6476 MB / 1.406 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001772/1.168, allocations: 25.28 kB / 1.406 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.168, allocations: 0.8438 kB / 1.406 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/1.168, allocations: 9.344 kB / 1.406 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/1.168, allocations: 9.25 kB / 1.406 GB, free: 178.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/1.168, allocations: 177.6 kB / 1.407 GB, free: 177.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.169, allocations: 0.6781 MB / 1.407 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.533e-05/1.169, allocations: 7.344 kB / 1.407 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/1.169, allocations: 10.38 kB / 1.407 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of SimCode: time 2.31e-07/1.169, allocations: 0 / 1.407 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/1.182, allocations: 1.691 MB / 1.409 GB, free: 177.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.182, allocations: 201.7 kB / 1.409 GB, free: 176.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.911, allocations: 3.938 kB / 1.409 GB, free: 176.9 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat