Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.001594/0.001594, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001507/0.001507, allocations: 217.5 kB / 22.25 MB, free: 5.117 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",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.002008/0.002008, allocations: 65.36 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003582/0.2864, allocations: 2.083 MB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.289, allocations: 1.694 MB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.2891, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.624e-05/0.2892, allocations: 23.8 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2893, allocations: 47.55 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2903, allocations: 358.8 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.2906, allocations: 235.1 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2907, allocations: 41.17 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2908, allocations: 87.77 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.291, allocations: 95.66 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.291, allocations: 16 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.2919, allocations: 431.5 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2919, allocations: 39.89 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/0.292, allocations: 95.59 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.2926, allocations: 442.6 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2926, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2926, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2926, allocations: 0 / 1.289 GB, free: 5.918 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008846/0.2935, allocations: 465.1 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2936, allocations: 15.97 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.2936, allocations: 54.73 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2947, allocations: 132.7 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2949, allocations: 130.4 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.295, allocations: 75.95 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.295, allocations: 16.38 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.2956, allocations: 231.1 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2956, allocations: 4 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2957, allocations: 8 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2957, allocations: 4 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.2961, allocations: 167.8 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.2977, allocations: 0.771 MB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.2984, allocations: 194.5 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.2988, allocations: 104.8 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.2993, allocations: 75.91 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2993, allocations: 34.56 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.2993, allocations: 4 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0118/0.3111, allocations: 1.384 MB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3111, allocations: 59.41 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3113, allocations: 172.4 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.3114, allocations: 29.7 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.3114, allocations: 116.4 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.3115, allocations: 59.48 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.3116, allocations: 41.64 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3117, allocations: 326.8 kB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.3121, allocations: 111.9 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3125, allocations: 107.9 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3131, allocations: 212 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3131, allocations: 3.938 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007071/0.3202, allocations: 0.893 MB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.3202, allocations: 9.875 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3202, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.3219, allocations: 356.3 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3222, allocations: 51.97 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.3239, allocations: 0.8371 MB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3242, allocations: 35.83 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3243, allocations: 11.98 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.3244, allocations: 129.8 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.3245, allocations: 11.95 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.326, allocations: 442.6 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.326, allocations: 4 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.326, allocations: 4 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.326, allocations: 0 / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.3282, allocations: 0.8486 MB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3282, allocations: 0 / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.3285, allocations: 55.97 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.33, allocations: 348.5 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.33, allocations: 4 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.3316, allocations: 0.8333 MB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3316, allocations: 4 kB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3328, allocations: 476.3 kB / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.3328, allocations: 19.84 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.3329, allocations: 4 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.3332, allocations: 27.97 kB / 1.299 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.3333, allocations: 15.97 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3333, allocations: 4 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.3334, allocations: 125.4 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004846/0.3338, allocations: 135.6 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.3357, allocations: 1.131 MB / 1.3 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.3378, allocations: 358.1 kB / 1.301 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3378, allocations: 0 / 1.301 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.3395, allocations: 239.8 kB / 1.301 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.34, allocations: 44.27 kB / 1.301 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.3555, allocations: 3.599 MB / 1.305 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3559, allocations: 0.7163 MB / 1.305 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.356, allocations: 17.81 kB / 1.305 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.3561, allocations: 39.42 kB / 1.305 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of SimCode: time 1.974e-06/0.3561, allocations: 0 / 1.305 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.3937, allocations: 8.135 MB / 1.313 GB, free: 12.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.14, allocations: 7.953 kB / 1.313 GB, free: 12.62 MB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable com.pDis in file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv. Warning: Get data of variable com.pDis from file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv failed! Error: Could not read variable com.pSuc in file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv. Warning: Get data of variable com.pSuc from file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv failed! Error: Could not read variable heaFloEva.Q_flow in file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv. Warning: Get data of variable heaFloEva.Q_flow from file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv failed! Error: Could not read variable heaFloCon.Q_flow in file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv. Warning: Get data of variable heaFloCon.Q_flow from file Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.6638957640007]