Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.94/1.94, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.0009228/0.0009228, allocations: 176.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.237/1.237, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008075/0.0008078, allocations: 86.05 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.934e-05, allocations: 5.797 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1848, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6337/0.8184, allocations: 149.5 MB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.8187, allocations: 85.97 kB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004716/0.8234, allocations: 1.865 MB / 1.36 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8234, allocations: 3.938 kB / 1.36 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8234, allocations: 4 kB / 1.36 GB, free: 34.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0001985/0.8236, allocations: 330.5 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.8237, allocations: 12.92 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.8237, allocations: 34.5 kB / 1.361 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.8238, allocations: 10.86 kB / 1.361 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.324e-05/0.8239, allocations: 164.6 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.8239, allocations: 1.688 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.8239, allocations: 12.06 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.824, allocations: 40.08 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.824, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.824, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.824, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.8241, allocations: 20.38 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.967e-05/0.8242, allocations: 164.2 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.8243, allocations: 43.33 kB / 1.361 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.8243, allocations: 21.52 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.8243, allocations: 3.984 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.8243, allocations: 38.16 kB / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.8243, allocations: 0 / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001621/0.826, allocations: 481.7 kB / 1.362 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.826, allocations: 52.86 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.144e-05/0.826, allocations: 88.84 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.8261, allocations: 29.27 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.8261, allocations: 80.14 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.8261, allocations: 26.08 kB / 1.362 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.8261, allocations: 7.938 kB / 1.362 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.8262, allocations: 318.1 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.8262, allocations: 18.38 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.8263, allocations: 27.17 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.8263, allocations: 26.05 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.8263, allocations: 0 / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000112/0.8264, allocations: 93.59 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.8265, allocations: 7.312 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8265, allocations: 0 / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-06/0.8265, allocations: 4 kB / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.8266, allocations: 17.72 kB / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.8266, allocations: 1.797 kB / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.8267, allocations: 0 / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.8267, allocations: 7.281 kB / 1.362 GB, free: 32.81 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.682e-05/0.8268, allocations: 115.9 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.8268, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.8268, allocations: 16.33 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8268, allocations: 3.344 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8268, allocations: 4 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8268, allocations: 0 / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.818e-05/0.8269, allocations: 178.8 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8269, allocations: 0 / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.827, allocations: 15.69 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.8271, allocations: 0 / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.8271, allocations: 3.375 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8271, allocations: 0 / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8271, allocations: 0 / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.8273, allocations: 150.3 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.8273, allocations: 78.89 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.8273, allocations: 3.344 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.8274, allocations: 8.672 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.8274, allocations: 5.125 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.8274, allocations: 0 / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.973e-05/0.8275, allocations: 75.28 kB / 1.363 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8275, allocations: 0 / 1.363 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001626/0.8276, allocations: 17 kB / 1.363 GB, free: 32.24 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.0003511/0.828, allocations: 0.6977 MB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.8281, allocations: 55.28 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8281, allocations: 0 / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.8282, allocations: 34.86 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.8283, allocations: 13.33 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.8287, allocations: 159.8 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.8289, allocations: 0.6809 MB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.829e-05/0.829, allocations: 9.844 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.8291, allocations: 10.88 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.8291, allocations: 7.875 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.8399, allocations: 1.4 MB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.8401, allocations: 211.1 kB / 1.366 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.216, allocations: 0 / 1.366 GB, free: 30.44 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat