Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.007888/0.007888, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.00241/0.00241, allocations: 197 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.7 MB / 0.7453 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.285, allocations: 159.9 MB / 1.225 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002882/0.288, allocations: 1.67 MB / 1.227 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.2887, allocations: 394.8 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.2888, allocations: 0 / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2889, allocations: 19.8 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.289, allocations: 19.78 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.2895, allocations: 128.3 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.2897, allocations: 107.6 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2898, allocations: 43.94 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.2899, allocations: 39.92 kB / 1.228 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.29, allocations: 47.77 kB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.29, allocations: 8 kB / 1.228 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2902, allocations: 59.95 kB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.2902, allocations: 23.91 kB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.2903, allocations: 39.8 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2905, allocations: 139.5 kB / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2906, allocations: 0 / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2906, allocations: 0 / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.2906, allocations: 0 / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006462/0.2912, allocations: 422.9 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2913, allocations: 8.031 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.2913, allocations: 42.73 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2916, allocations: 28.86 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2918, allocations: 198.6 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.2919, allocations: 34.27 kB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2919, allocations: 12.38 kB / 1.229 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.2922, allocations: 103.4 kB / 1.229 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2922, allocations: 0 / 1.229 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2922, allocations: 0 / 1.229 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2923, allocations: 4 kB / 1.229 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.2925, allocations: 83.86 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.2932, allocations: 384.6 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.2938, allocations: 130.6 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.2939, allocations: 40.84 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2939, allocations: 0 / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.294, allocations: 38.55 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.294, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000475/0.2945, allocations: 133.5 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2945, allocations: 63.34 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2947, allocations: 135.5 kB / 1.23 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2947, allocations: 29.7 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.2948, allocations: 96.12 kB / 1.23 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2948, allocations: 23.91 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.2949, allocations: 25.7 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.295, allocations: 322.8 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2952, allocations: 31.97 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2953, allocations: 53.98 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2955, allocations: 77.62 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2955, allocations: 0 / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002835/0.2958, allocations: 109.6 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2958, allocations: 8 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.2959, allocations: 3.984 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2959, allocations: 7.875 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.296, allocations: 19.92 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.296, allocations: 4 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.2961, allocations: 15.92 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2961, allocations: 0 / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.752e-05/0.2962, allocations: 118.4 kB / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.2963, allocations: 7.953 kB / 1.231 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.2963, allocations: 16.72 kB / 1.231 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2963, allocations: 3.938 kB / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2964, allocations: 0 / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2964, allocations: 4 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2967, allocations: 205.5 kB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2967, allocations: 0 / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2968, allocations: 15.98 kB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2968, allocations: 0 / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2968, allocations: 8 kB / 1.231 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2969, allocations: 3.938 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2969, allocations: 3.938 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.2972, allocations: 199.5 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.2973, allocations: 85.06 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.2973, allocations: 4 kB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.2975, allocations: 15.92 kB / 1.231 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2975, allocations: 4 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.2976, allocations: 7.984 kB / 1.231 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.2977, allocations: 105.3 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2977, allocations: 0 / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002654/0.2979, allocations: 20 kB / 1.231 GB, free: 3.156 MB / 0.9825 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006262/0.2986, allocations: 0.7357 MB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.2989, allocations: 75.94 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2989, allocations: 0 / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.299, allocations: 39.91 kB / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2994, allocations: 40.61 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3012, allocations: 1.565 MB / 1.234 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3015, allocations: 0.6924 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.3015, allocations: 8.672 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.3016, allocations: 27.42 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3016, allocations: 0 / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.3212, allocations: 2.746 MB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.858, allocations: 13.36 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches