Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.348/2.348, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001265/0.001265, allocations: 187.9 kB / 0.4901 GB, free: 2.316 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.487/1.487, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001024/0.001023, allocations: 104.2 kB / 0.9396 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 10.84 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.5251, allocations: 151.2 MB / 1.377 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.5254, allocations: 75.95 kB / 1.377 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.007937/0.5333, allocations: 2.503 MB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5334, allocations: 0 / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5334, allocations: 0 / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004429/0.5338, allocations: 360 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.5339, allocations: 12.03 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.534, allocations: 38.56 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.5342, allocations: 19.84 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5343, allocations: 167 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5343, allocations: 4 kB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.5344, allocations: 4 kB / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.5345, allocations: 49.67 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5345, allocations: 0 / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5345, allocations: 3.984 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5346, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.5346, allocations: 27.92 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.5348, allocations: 169.7 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.535, allocations: 58.62 kB / 1.38 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.535, allocations: 0 / 1.38 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.535, allocations: 30.69 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.535, allocations: 4 kB / 1.38 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002083/0.5353, allocations: 77.61 kB / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5353, allocations: 59.41 kB / 1.381 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.5354, allocations: 89 kB / 1.381 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5354, allocations: 25.7 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.5354, allocations: 80.14 kB / 1.381 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.5355, allocations: 19.72 kB / 1.381 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.5355, allocations: 0 / 1.381 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5356, allocations: 318.8 kB / 1.381 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.5357, allocations: 12.12 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.5357, allocations: 15.94 kB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.5358, allocations: 15.98 kB / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5358, allocations: 0 / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001113/0.5359, allocations: 65.62 kB / 1.381 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5359, allocations: 4.938 kB / 1.381 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5359, allocations: 4 kB / 1.381 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5359, allocations: 0 / 1.381 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.5361, allocations: 15.98 kB / 1.381 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5361, allocations: 0 / 1.381 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.5361, allocations: 3.938 kB / 1.381 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5362, allocations: 4.438 kB / 1.381 GB, free: 9.469 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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 9.001e-05/0.5363, allocations: 118.6 kB / 1.381 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.5363, allocations: 3.906 kB / 1.381 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.5365, allocations: 101.5 kB / 1.381 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5365, allocations: 0 / 1.381 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5365, allocations: 8 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5365, allocations: 0 / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.5367, allocations: 161.6 kB / 1.382 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5367, allocations: 0 / 1.382 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5368, allocations: 15.98 kB / 1.382 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5368, allocations: 0 / 1.382 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5368, allocations: 4 kB / 1.382 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5369, allocations: 0 / 1.382 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5369, allocations: 0 / 1.382 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.537, allocations: 105 kB / 1.382 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.5371, allocations: 89.05 kB / 1.382 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.5371, allocations: 0 / 1.382 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.5372, allocations: 4 kB / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.5372, allocations: 7.984 kB / 1.382 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.5372, allocations: 7.984 kB / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.5373, allocations: 75.28 kB / 1.382 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5373, allocations: 0 / 1.382 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001836/0.5375, allocations: 12.09 kB / 1.382 GB, free: 8.668 MB / 0.8855 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 (7): * Single equations (assignments): 7 * 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.0004441/0.5379, allocations: 0.6359 MB / 1.382 GB, free: 8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.538, allocations: 35.98 kB / 1.383 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.538, allocations: 0 / 1.383 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.5381, allocations: 23.94 kB / 1.383 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.5383, allocations: 12.38 kB / 1.383 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.5388, allocations: 182.1 kB / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.539, allocations: 0.6848 MB / 1.383 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.427e-05/0.5391, allocations: 8 kB / 1.383 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.5391, allocations: 11.44 kB / 1.383 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5391, allocations: 0 / 1.383 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.552, allocations: 1.19 MB / 1.385 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5522, allocations: 220 kB / 1.385 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.153, allocations: 0 / 1.385 GB, free: 5.723 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat