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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 215.8 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003024/0.003024, allocations: 65.95 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3896, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002599/0.3922, allocations: 1.282 MB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3935, allocations: 0.8451 MB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.3936, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.3936, allocations: 3.938 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.3936, allocations: 11.88 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3941, allocations: 163.4 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.3942, allocations: 43.84 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.3943, allocations: 0 / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.3943, allocations: 23.92 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3944, allocations: 19.92 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3944, allocations: 3.984 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.3949, allocations: 219.7 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3949, allocations: 4 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3949, allocations: 23.86 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.3952, allocations: 139.8 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3952, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3952, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3952, allocations: 0 / 1.348 GB, free: 13.66 MB / 1.045 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.000534/0.3957, allocations: 298 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3958, allocations: 8.031 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.95e-05/0.3958, allocations: 4.188 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3958, allocations: 38.75 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3959, allocations: 4.891 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.396, allocations: 122.4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.396, allocations: 384 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.396, allocations: 12.31 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3962, allocations: 77.42 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3962, allocations: 0 / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3962, allocations: 8 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3962, allocations: 0 / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.3963, allocations: 23.92 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.3985, allocations: 0.8658 MB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3986, allocations: 173.1 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.3986, allocations: 80.14 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.3987, allocations: 75.28 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.753e-05/0.3987, allocations: 117.8 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3987, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.432e-05/0.3988, allocations: 29.64 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.3989, allocations: 126.7 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3991, allocations: 137.8 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3991, allocations: 25.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3992, allocations: 103.9 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.3992, allocations: 3.984 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.3992, allocations: 29.7 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3993, allocations: 318.8 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.3994, allocations: 11.92 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.3994, allocations: 31.44 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.2e-05/0.3995, allocations: 47.36 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3995, allocations: 0 / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001923/0.3997, allocations: 65.56 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3997, allocations: 8 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3997, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3997, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.3998, allocations: 19.98 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3998, allocations: 4.125 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.3999, allocations: 11.89 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3999, allocations: 3.938 kB / 1.351 GB, free: 10.57 MB / 1.045 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.0001318/0.4, allocations: 185.1 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.4001, allocations: 108.9 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.4002, allocations: 116.2 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.4003, allocations: 180.3 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.075e-05/0.4004, allocations: 188.3 kB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.796e-05/0.4004, allocations: 180.2 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.4007, allocations: 388.2 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/0.4008, allocations: 105 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.4008, allocations: 104.9 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.4009, allocations: 180.3 kB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.401, allocations: 180.2 kB / 1.353 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.169e-05/0.401, allocations: 184.2 kB / 1.353 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.976e-05/0.4011, allocations: 176.3 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4013, allocations: 319.7 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.4014, allocations: 113 kB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.4015, allocations: 184.2 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4016, allocations: 105 kB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.4017, allocations: 184.3 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.4017, allocations: 109 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.746e-05/0.4018, allocations: 103.3 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003523/0.4021, allocations: 63.73 kB / 1.354 GB, free: 6.98 MB / 1.045 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.0007001/0.4028, allocations: 0.8709 MB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.403, allocations: 23.92 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.403, allocations: 3.938 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.403, allocations: 4 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.4035, allocations: 460.6 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.4042, allocations: 264.1 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4045, allocations: 0.6768 MB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.4046, allocations: 11.98 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4046, allocations: 19.42 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4046, allocations: 0 / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.4274, allocations: 2.628 MB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 13.14 kB / 1.359 GB, free: 2.082 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.85152961401036]