Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.931/1.931, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.0009812/0.0009812, allocations: 184.9 kB / 496.1 MB, free: 12.89 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.237/1.237, 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.0008025/0.0008025, allocations: 91.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.469e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.642/0.833, allocations: 150.3 MB / 1.366 GB, free: 3.719 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.8332, allocations: 83.06 kB / 1.366 GB, free: 3.668 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004632/0.8379, allocations: 1.867 MB / 1.368 GB, free: 2.078 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.81e-07/0.8379, allocations: 4 kB / 1.368 GB, free: 2.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.8379, allocations: 0 / 1.368 GB, free: 2.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002328/0.8382, allocations: 337.8 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.8382, allocations: 8.031 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.8382, allocations: 34.55 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.8384, allocations: 15.89 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.8384, allocations: 163.1 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.8384, allocations: 0 / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.8385, allocations: 11.62 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.8386, allocations: 45.25 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.8386, allocations: 0 / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.8386, allocations: 0 / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8386, allocations: 4 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.8387, allocations: 11.12 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.8388, allocations: 161.6 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.8389, allocations: 44.89 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.8389, allocations: 24.8 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.8389, allocations: 0 / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.8389, allocations: 30.56 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.839, allocations: 0 / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.001692/0.8407, allocations: 489.7 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.8407, allocations: 55.41 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.382e-05/0.8407, allocations: 88.19 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.8407, allocations: 25.7 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.8408, allocations: 84.08 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.8408, allocations: 27.08 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.8408, allocations: 0 / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.8409, allocations: 326.3 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.8409, allocations: 22.75 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.841, allocations: 26.94 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.841, allocations: 18.75 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.841, allocations: 3.984 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001195/0.8412, allocations: 98.47 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.8412, allocations: 4 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8412, allocations: 0 / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.8412, allocations: 3.984 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8413, allocations: 16 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8413, allocations: 0.7969 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.8414, allocations: 4 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.8414, allocations: 4 kB / 1.37 GB, free: 15.8 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 (9): * Single equations (assignments): 9 * 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.561e-05/0.8415, allocations: 117 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.8415, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.8415, allocations: 18.47 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.8416, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8416, allocations: 4 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8416, allocations: 4 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.8417, allocations: 177.7 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8417, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.8418, allocations: 12 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8418, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.8418, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8418, allocations: 4 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8418, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.842, allocations: 153.2 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.8421, allocations: 85.05 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.8421, allocations: 3.562 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.8422, allocations: 7.984 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.8422, allocations: 4 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.8422, allocations: 3.938 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.95e-05/0.8423, allocations: 75.28 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8423, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001721/0.8424, allocations: 15.25 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003789/0.8428, allocations: 0.6907 MB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.8429, allocations: 50.81 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8429, allocations: 0 / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.843, allocations: 34.31 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.8431, allocations: 12.86 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.8436, allocations: 151.4 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.8438, allocations: 0.6926 MB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.8438, allocations: 4.188 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.8439, allocations: 14.06 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.8439, allocations: 0 / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.855, allocations: 1.405 MB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.8552, allocations: 212.3 kB / 1.373 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.372/2.227, allocations: 0 / 1.373 GB, free: 12.03 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat