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.001337/0.001337, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001338, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.54/2.54, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.8693 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4939, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002089/0.496, allocations: 1.26 MB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4971, allocations: 0.807 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.4972, allocations: 7.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.4972, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.4973, allocations: 11.91 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.4977, allocations: 155.4 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.4978, allocations: 43.8 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.4978, allocations: 11.98 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.4979, allocations: 15.98 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.498, allocations: 27.84 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.498, allocations: 4 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.4984, allocations: 195.8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.4984, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.4984, allocations: 23.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.4987, allocations: 126 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4987, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4987, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.4987, allocations: 4 kB / 1.02 GB, free: 15.83 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.0004056/0.4991, allocations: 377.1 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4992, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.4992, allocations: 38.73 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.4992, allocations: 4.844 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4993, allocations: 184.2 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4993, allocations: 384 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.4994, allocations: 4.375 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4995, allocations: 77.67 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4995, allocations: 3.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.4995, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.4995, allocations: 4 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.4996, allocations: 27.92 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.5022, allocations: 2.095 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.279e-05/0.5022, allocations: 165.1 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.5023, allocations: 88.11 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.5023, allocations: 87.22 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.5024, allocations: 105.8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5024, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.685e-05/0.5024, allocations: 33.61 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.5025, allocations: 126.7 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.5026, allocations: 129.8 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.5026, allocations: 29.7 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.5027, allocations: 111.8 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.5027, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.5027, allocations: 25.7 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.5028, allocations: 314.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.5029, allocations: 15.94 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.5029, allocations: 35.48 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.503, allocations: 43.38 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.503, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000164/0.5031, allocations: 73.53 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5032, allocations: 8.109 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5032, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5032, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.5033, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5033, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.5033, allocations: 3.938 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5034, allocations: 4 kB / 1.024 GB, free: 11.05 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 8.698e-05/0.5034, allocations: 197 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.5035, allocations: 104.9 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.5036, allocations: 112.5 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.5036, allocations: 184.2 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/0.5037, allocations: 180.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/0.5037, allocations: 184.1 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.5039, allocations: 409.2 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.504, allocations: 109 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.504, allocations: 104.9 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.968e-05/0.5041, allocations: 184.2 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.5041, allocations: 184.4 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.685e-05/0.5042, allocations: 176.3 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-05/0.5042, allocations: 188.2 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.5043, allocations: 311.8 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.5044, allocations: 190 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.5045, allocations: 176.3 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.5046, allocations: 108.9 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.5046, allocations: 184.3 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.5047, allocations: 104.9 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.5047, allocations: 107.2 kB / 1.027 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5047, allocations: 0 / 1.027 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003034/0.505, allocations: 47.94 kB / 1.028 GB, free: 7.355 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.000482/0.5055, allocations: 0.8827 MB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.5056, allocations: 15.94 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5056, allocations: 0 / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5056, allocations: 256 / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.506, allocations: 471.6 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.5065, allocations: 263.9 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.5067, allocations: 0.6885 MB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.5067, allocations: 11.97 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.5068, allocations: 11.44 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5068, allocations: 0 / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.5248, allocations: 2.405 MB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.483, allocations: 7.438 kB / 1.032 GB, free: 2.633 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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