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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.61/2.61, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 12 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.838, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001526/0.8396, allocations: 0.9771 MB / 0.9821 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005071/0.8401, allocations: 213.8 kB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.8402, allocations: 0 / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.8402, allocations: 0 / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.8402, allocations: 0 / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.8405, allocations: 39.83 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.8406, allocations: 15.98 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.8406, allocations: 4 kB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.8407, allocations: 11.92 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.8408, allocations: 11.98 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.8408, allocations: 0 / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.8409, allocations: 43.95 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.8409, allocations: 0 / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.8409, allocations: 29.7 kB / 0.9825 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.841, allocations: 30.22 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8411, allocations: 0 / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8411, allocations: 0 / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.8411, allocations: 4 kB / 0.9825 GB, free: 4.883 MB / 0.7325 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.0004067/0.8415, allocations: 335.2 kB / 0.9828 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.8415, allocations: 8.031 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.8416, allocations: 38.56 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.8417, allocations: 7.984 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.8418, allocations: 167 kB / 0.983 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.8419, allocations: 4 kB / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.8419, allocations: 7.953 kB / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.842, allocations: 45.69 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.8421, allocations: 0 / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.8421, allocations: 0 / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8421, allocations: 4 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.8421, allocations: 23.92 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.8423, allocations: 157.6 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.8424, allocations: 38.64 kB / 0.9833 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.8425, allocations: 28.97 kB / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.8425, allocations: 0 / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8425, allocations: 38.52 kB / 0.9834 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.8425, allocations: 0 / 0.9834 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001834/0.8444, allocations: 494.1 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8444, allocations: 59.34 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.8445, allocations: 89.86 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.8445, allocations: 25.7 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.8445, allocations: 80.14 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.8446, allocations: 31.55 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.8446, allocations: 8 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.8447, allocations: 314.8 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.8448, allocations: 20 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.8448, allocations: 23.98 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.8449, allocations: 24 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8449, allocations: 0 / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001414/0.845, allocations: 101.7 kB / 0.9846 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.845, allocations: 5.094 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.845, allocations: 0 / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8451, allocations: 4 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.8452, allocations: 15.98 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8452, allocations: 4.062 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.8453, allocations: 8 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.8453, allocations: 0 / 0.9846 GB, free: 2.441 MB / 0.7325 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 (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 9.157e-05/0.8454, allocations: 113.8 kB / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.8454, allocations: 7.859 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.8455, allocations: 15.97 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8455, allocations: 4 kB / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8455, allocations: 7.984 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.8455, allocations: 0 / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.8457, allocations: 163.5 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8457, allocations: 7.922 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.8458, allocations: 16 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8458, allocations: 0 / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.8458, allocations: 11.94 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8459, allocations: 0 / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8459, allocations: 0 / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.8461, allocations: 149 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.8462, allocations: 81.09 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.8462, allocations: 448 / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.8463, allocations: 7.984 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.8463, allocations: 8 kB / 0.9852 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.8463, allocations: 8 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.8464, allocations: 79.27 kB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8464, allocations: 0 / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001843/0.8466, allocations: 12.06 kB / 0.9853 GB, free: 1.668 MB / 0.7325 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 () * Number of clocked 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.0004817/0.847, allocations: 0.6827 MB / 0.9859 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.8472, allocations: 55.98 kB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8472, allocations: 0 / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.8473, allocations: 32.2 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.8475, allocations: 21.48 kB / 0.986 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.8483, allocations: 474.4 kB / 0.9865 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.8486, allocations: 0.6886 MB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.91e-05/0.8487, allocations: 12.19 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.8488, allocations: 11.44 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.8488, allocations: 7.938 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.8602, allocations: 1.408 MB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.8605, allocations: 246.1 kB / 0.9888 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.688, allocations: 5.188 kB / 0.9888 GB, free: 14.08 MB / 0.7481 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) Environment - environmentSimulation: 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