Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",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.005113/0.005113, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001505/0.001505, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.05 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2755, allocations: 162.2 MB / 1.241 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002367/0.2779, allocations: 1.27 MB / 1.243 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2793, allocations: 0.8156 MB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.2793, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.2793, allocations: 3.938 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.2794, allocations: 11.92 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.2799, allocations: 158.7 kB / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.28, allocations: 43.84 kB / 1.244 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.2801, allocations: 5.406 kB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.2801, allocations: 19.92 kB / 1.244 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.2802, allocations: 23.91 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2802, allocations: 0 / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.2807, allocations: 215.8 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.2807, allocations: 7.922 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.2807, allocations: 15.94 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.281, allocations: 131.9 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.281, allocations: 4 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.281, allocations: 3.938 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.281, allocations: 4 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004955/0.2815, allocations: 383 kB / 1.244 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2816, allocations: 12.03 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.2816, allocations: 34.75 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.2817, allocations: 0.9375 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2818, allocations: 172.3 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2818, allocations: 4.312 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2818, allocations: 8.375 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.282, allocations: 77.67 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.282, allocations: 3.938 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.282, allocations: 4 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.282, allocations: 0 / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.2821, allocations: 31.91 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.285, allocations: 2.091 MB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.2851, allocations: 169.1 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.2852, allocations: 80.14 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2852, allocations: 79.28 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.2853, allocations: 113.7 kB / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.2853, allocations: 0 / 1.247 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.569e-05/0.2854, allocations: 33.69 kB / 1.247 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2855, allocations: 126.7 kB / 1.247 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2856, allocations: 137.7 kB / 1.248 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2856, allocations: 33.7 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.2857, allocations: 99.98 kB / 1.248 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-06/0.2857, allocations: 4 kB / 1.248 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.2858, allocations: 29.59 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2859, allocations: 318.8 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.2859, allocations: 11.98 kB / 1.248 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.286, allocations: 31.44 kB / 1.248 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.2861, allocations: 43.36 kB / 1.248 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2861, allocations: 4 kB / 1.248 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001645/0.2863, allocations: 65.56 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2863, allocations: 8.125 kB / 1.248 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2863, allocations: 4 kB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2863, allocations: 0 / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.2864, allocations: 8 kB / 1.248 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2864, allocations: 7.984 kB / 1.248 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.2865, allocations: 15.83 kB / 1.248 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2865, allocations: 4 kB / 1.248 GB, free: 1.809 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 0.0001142/0.2866, allocations: 189.6 kB / 1.248 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.2867, allocations: 105 kB / 1.248 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.2868, allocations: 112.5 kB / 1.249 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/0.2868, allocations: 184.2 kB / 1.249 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.909e-05/0.2869, allocations: 176.3 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.521e-05/0.287, allocations: 184.2 kB / 1.249 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.2873, allocations: 417.3 kB / 1.249 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/0.2874, allocations: 109 kB / 1.25 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.2874, allocations: 109 kB / 1.25 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.2875, allocations: 184.3 kB / 1.25 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.2876, allocations: 180.2 kB / 1.25 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.402e-05/0.2877, allocations: 180.2 kB / 1.25 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.99e-05/0.2878, allocations: 180.4 kB / 1.25 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.2879, allocations: 319.7 kB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.288, allocations: 186 kB / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.2881, allocations: 176.3 kB / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2883, allocations: 109 kB / 1.251 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2883, allocations: 188.2 kB / 1.251 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.2884, allocations: 104.9 kB / 1.251 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.2885, allocations: 107.2 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2885, allocations: 3.938 kB / 1.252 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003218/0.2888, allocations: 51.81 kB / 1.252 GB, free: 14.1 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 (0): * Single equations (assignments): 0 * 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.0006325/0.2895, allocations: 0.8826 MB / 1.252 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.2896, allocations: 19.92 kB / 1.252 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2896, allocations: 0 / 1.252 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.2896, allocations: 4.25 kB / 1.252 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.29, allocations: 463.6 kB / 1.253 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.2905, allocations: 267.8 kB / 1.253 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2909, allocations: 0.6807 MB / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.2909, allocations: 11.92 kB / 1.254 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.291, allocations: 15.44 kB / 1.254 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.291, allocations: 0 / 1.254 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3134, allocations: 2.439 MB / 1.256 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.929, allocations: 5.938 kB / 1.256 GB, free: 9.375 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches