Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.958/1.958, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.0009266/0.0009266, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0007865/0.0007864, allocations: 95.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.861e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6387/0.8254, allocations: 150.3 MB / 1.366 GB, free: 3.707 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.8256, allocations: 77.92 kB / 1.366 GB, free: 3.664 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003697/0.8293, allocations: 1.518 MB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8294, allocations: 0 / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8294, allocations: 0 / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002239/0.8296, allocations: 338.4 kB / 1.368 GB, free: 1.988 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.8296, allocations: 8.031 kB / 1.368 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.8297, allocations: 37.19 kB / 1.368 GB, free: 1.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.8298, allocations: 15.94 kB / 1.368 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.8299, allocations: 167.1 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.83, allocations: 4 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.83, allocations: 2.25 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.8301, allocations: 45.44 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.8301, allocations: 0 / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.8301, allocations: 0 / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.8301, allocations: 0 / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.8301, allocations: 15.44 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.8303, allocations: 164.2 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.832, allocations: 264.2 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.832, allocations: 27.88 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.832, allocations: 3.938 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.8321, allocations: 34.56 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8321, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001117/0.8322, allocations: 56.33 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.8322, allocations: 55.41 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.8323, allocations: 85 kB / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.8323, allocations: 32.95 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.8323, allocations: 80.14 kB / 1.369 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.8323, allocations: 11.84 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.8323, allocations: 0 / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.8324, allocations: 318.2 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.8324, allocations: 7.438 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.8325, allocations: 7.984 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.8325, allocations: 19.42 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.8325, allocations: 0 / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.913e-05/0.8326, allocations: 56.81 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8326, allocations: 4 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8326, allocations: 3.938 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8326, allocations: 0 / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.8327, allocations: 8 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8327, allocations: 3.984 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.8327, allocations: 3.906 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.8327, allocations: 0 / 1.369 GB, free: 372 kB / 0.823 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 (4): * Single equations (assignments): 4 * 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.049e-05/0.8328, allocations: 111.6 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.8328, allocations: 4 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.8328, allocations: 10.42 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.8328, allocations: 0 / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8328, allocations: 0 / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.8329, allocations: 3.938 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.32e-05/0.8329, allocations: 163.2 kB / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8329, allocations: 0 / 1.369 GB, free: 32 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.833, allocations: 4.875 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.833, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.833, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.833, allocations: 4 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.833, allocations: 4 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.8331, allocations: 78.89 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.8332, allocations: 81.09 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.8332, allocations: 8 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.8333, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.8333, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8333, allocations: 3.5 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.8333, allocations: 83.28 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8333, allocations: 3.938 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001507/0.8335, allocations: 4 kB / 1.37 GB, free: 15.74 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 (4): * Single equations (assignments): 4 * 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.00028/0.8338, allocations: 0.6237 MB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.8338, allocations: 22.47 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8338, allocations: 4 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.8339, allocations: 15.69 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.834, allocations: 8.672 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.8343, allocations: 104.1 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.8345, allocations: 0.6809 MB / 1.371 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.8345, allocations: 7.984 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.8346, allocations: 11.44 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/0.8346, allocations: 0 / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.8448, allocations: 1.081 MB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.845, allocations: 162.2 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.274/2.119, allocations: 4.625 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat