Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_10_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.001489/0.001489, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001899/0.001899, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.279/2.279, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 63.91 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4809, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002055/0.483, allocations: 1.348 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.484, allocations: 0.811 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.4841, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.4841, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.4841, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.4846, allocations: 143.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.894e-05/0.4846, allocations: 51.77 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.4847, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.4847, allocations: 23.92 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.4848, allocations: 19.92 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.4848, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.4851, allocations: 211.7 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.4852, allocations: 3.984 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.4852, allocations: 23.86 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.4854, allocations: 134 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4854, allocations: 8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4854, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4854, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 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.0003871/0.4858, allocations: 367.3 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4859, allocations: 16.02 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.4859, allocations: 34.75 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.4859, allocations: 8.844 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4861, allocations: 168.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4861, allocations: 8.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.4861, allocations: 4.312 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4862, allocations: 73.67 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4862, allocations: 7.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4863, allocations: 3.984 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4863, allocations: 3.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.4863, allocations: 27.92 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.4887, allocations: 2.099 MB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.4888, allocations: 173.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.4889, allocations: 80.14 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4889, allocations: 75.28 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.4889, allocations: 109.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4889, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.228e-05/0.489, allocations: 37.53 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.4891, allocations: 130.7 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4892, allocations: 129.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.4892, allocations: 25.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.4892, allocations: 107.8 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4893, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.4893, allocations: 21.7 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.4894, allocations: 318.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.4894, allocations: 8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.4895, allocations: 35.42 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.4895, allocations: 43.38 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4895, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001466/0.4897, allocations: 77.45 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4897, allocations: 9.719 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4897, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.4897, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.4898, allocations: 12 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4898, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.4899, allocations: 15.86 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4899, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 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 7.534e-05/0.49, allocations: 189.8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.4901, allocations: 108.8 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.4901, allocations: 112.5 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.545e-05/0.4902, allocations: 184.2 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.539e-05/0.4902, allocations: 176.3 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/0.4903, allocations: 188.1 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.4905, allocations: 421.3 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.4905, allocations: 105 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.4906, allocations: 112.9 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/0.4906, allocations: 180.3 kB / 1.025 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.4907, allocations: 176.3 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.558e-05/0.4908, allocations: 184.2 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.4909, allocations: 184.2 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.491, allocations: 307.7 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.4911, allocations: 182.1 kB / 1.026 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.4911, allocations: 184.2 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.4912, allocations: 109 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.4913, allocations: 184.2 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4913, allocations: 104.9 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.4914, allocations: 103.3 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4914, allocations: 0 / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000286/0.4917, allocations: 55.94 kB / 1.027 GB, free: 7.434 MB / 0.7794 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.0005248/0.4922, allocations: 0.8749 MB / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.4923, allocations: 12.19 kB / 1.028 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4923, allocations: 8 kB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4924, allocations: 4 kB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.4928, allocations: 469.1 kB / 1.028 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.4932, allocations: 276.1 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4934, allocations: 0.6807 MB / 1.029 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.4935, allocations: 7.984 kB / 1.029 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.4935, allocations: 11.44 kB / 1.029 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.4935, allocations: 0 / 1.029 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.916/1.41, allocations: 2.347 MB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.41, allocations: 227.1 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.13, allocations: 0 / 1.032 GB, free: 2.562 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches