Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.971/1.971, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.0009242/0.0009242, allocations: 184.9 kB / 492.3 MB, free: 0.6211 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.22/1.22, allocations: 221.3 MB / 0.7872 GB, free: 12.97 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.0007808/0.0007808, allocations: 102.7 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.258e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1851, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.649/0.8341, allocations: 150.4 MB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.8344, allocations: 78.72 kB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006422/0.8408, allocations: 2.49 MB / 1.362 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8408, allocations: 1.422 kB / 1.362 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8408, allocations: 0 / 1.362 GB, free: 34.65 MB / 0.8386 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.0001904/0.841, allocations: 350 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8411, allocations: 13.45 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.347e-05/0.8411, allocations: 33.62 kB / 1.362 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.8412, allocations: 17.08 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.45e-05/0.8413, allocations: 164.4 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.8413, allocations: 7.938 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.8413, allocations: 3.906 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.8414, allocations: 48.59 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.8414, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.8415, allocations: 10.86 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8415, allocations: 1.688 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.8415, allocations: 20.41 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.8416, allocations: 162.4 kB / 1.363 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/0.8417, allocations: 65.97 kB / 1.363 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.8418, allocations: 29.14 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.8418, allocations: 0 / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.8418, allocations: 34.41 kB / 1.363 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.8418, allocations: 0 / 1.363 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001224/0.842, allocations: 62.44 kB / 1.363 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.842, allocations: 51.41 kB / 1.363 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.8e-05/0.842, allocations: 97.72 kB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.842, allocations: 25.7 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.132e-05/0.8421, allocations: 80.14 kB / 1.363 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.8421, allocations: 24.08 kB / 1.363 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-06/0.8421, allocations: 3.938 kB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.8421, allocations: 316.8 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.8422, allocations: 10.94 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.8422, allocations: 11.09 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.8422, allocations: 18.16 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8422, allocations: 0 / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.436e-05/0.8423, allocations: 59.25 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.8423, allocations: 7.75 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8423, allocations: 1.453 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.8424, allocations: 0 / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8425, allocations: 13.27 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8425, allocations: 2.375 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.8425, allocations: 3.812 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.8425, allocations: 7.125 kB / 1.364 GB, free: 33.05 MB / 0.8386 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 (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 3.637e-05/0.8426, allocations: 108.9 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.8426, allocations: 5.625 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.8428, allocations: 92.31 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8428, allocations: 0 / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.8428, allocations: 0 / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8428, allocations: 4 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.8429, allocations: 177.8 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8429, allocations: 4 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.8429, allocations: 22.12 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.843, allocations: 0 / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.843, allocations: 3.75 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.843, allocations: 2.109 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.843, allocations: 0 / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.8431, allocations: 95.14 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.8431, allocations: 90.56 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.8431, allocations: 3.984 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.8432, allocations: 5.562 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.8432, allocations: 5.047 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.8432, allocations: 3.938 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.384e-05/0.8432, allocations: 79.16 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8432, allocations: 0 / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001531/0.8434, allocations: 11.25 kB / 1.364 GB, free: 32.42 MB / 0.8386 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 (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.0002171/0.8436, allocations: 0.638 MB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.251e-05/0.8437, allocations: 31.72 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8437, allocations: 3.938 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.8437, allocations: 22.5 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.8439, allocations: 9.578 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.8441, allocations: 101.9 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.8443, allocations: 0.6815 MB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.8444, allocations: 6.031 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.8444, allocations: 19.03 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.8444, allocations: 4 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.8546, allocations: 1.191 MB / 1.367 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001155/0.8547, allocations: 188.5 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.293, allocations: 1.969 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat