Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001404/0.001404, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001587/0.001587, allocations: 218 kB / 22.26 MB, free: 5.125 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.317/1.317, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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 2.923/2.923, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001831/0.001831, allocations: 61.48 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2908, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002888/0.2937, allocations: 2.068 MB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2959, allocations: 1.67 MB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.2959, allocations: 4 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.296, allocations: 23.78 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.2961, allocations: 47.55 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.2968, allocations: 361.5 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.297, allocations: 223.2 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.2971, allocations: 37.88 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.2972, allocations: 87.72 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2973, allocations: 87.72 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2973, allocations: 23.94 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.298, allocations: 419.5 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.2981, allocations: 39.91 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.2981, allocations: 87.64 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.2987, allocations: 422.7 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.2987, allocations: 4 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2987, allocations: 0 / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.2987, allocations: 0 / 1.358 GB, free: 2.883 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006845/0.2993, allocations: 461.2 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.2994, allocations: 12.03 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.2994, allocations: 46.73 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.3024, allocations: 332.4 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.3025, allocations: 126.4 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.3026, allocations: 79.91 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3026, allocations: 12.38 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.304, allocations: 345.4 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.304, allocations: 0 / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.304, allocations: 8 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-06/0.304, allocations: 4 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3061, allocations: 367.6 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3075, allocations: 0.8262 MB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.3121, allocations: 0.6502 MB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3131, allocations: 197 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.3132, allocations: 15.98 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3132, allocations: 38.5 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.3132, allocations: 4 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004045/0.3173, allocations: 0.7108 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3173, allocations: 55.41 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3174, allocations: 161.6 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.3175, allocations: 33.64 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3175, allocations: 115.9 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.3176, allocations: 51.58 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.3177, allocations: 45.64 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3178, allocations: 330.8 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.319, allocations: 199.8 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3201, allocations: 203.8 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.3221, allocations: 354.2 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3221, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002527/0.3246, allocations: 0.5038 MB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3246, allocations: 9.875 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3246, allocations: 0 / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.3251, allocations: 122.9 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.3266, allocations: 147.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.3274, allocations: 0.6304 MB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.328, allocations: 71.75 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.328, allocations: 11.98 kB / 1.365 GB, free: 11.45 MB / 1.061 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 (17): * Single equations (assignments): 16 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.3282, allocations: 137.8 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3282, allocations: 11.89 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.3309, allocations: 0.5205 MB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3309, allocations: 8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3309, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3309, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.3353, allocations: 1.033 MB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3353, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.3368, allocations: 151.8 kB / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.3372, allocations: 124.7 kB / 1.367 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3372, allocations: 11.98 kB / 1.367 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007382/0.338, allocations: 0.6303 MB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.338, allocations: 8 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.3405, allocations: 0.5578 MB / 1.368 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.3406, allocations: 15.95 kB / 1.368 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3406, allocations: 4 kB / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.3412, allocations: 59.92 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3413, allocations: 11.97 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3413, allocations: 7.984 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.3414, allocations: 123.2 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3414, allocations: 0 / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004395/0.3418, allocations: 127.6 kB / 1.369 GB, free: 7.785 MB / 1.061 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 (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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003075/0.3449, allocations: 1.22 MB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.3474, allocations: 443.5 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3474, allocations: 0 / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3488, allocations: 239.8 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3492, allocations: 43.91 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.3581, allocations: 2.943 MB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3584, allocations: 0.7085 MB / 1.374 GB, free: 2.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.3587, allocations: 56.11 kB / 1.374 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3589, allocations: 51.39 kB / 1.374 GB, free: 1.941 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3589, allocations: 3.938 kB / 1.374 GB, free: 1.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3908, allocations: 8.352 MB / 1.382 GB, free: 9.754 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.56, allocations: 3.938 kB / 1.382 GB, free: 9.75 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable com.pDis in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pDis from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable com.pSuc in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pSuc from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloEva.Q_flow in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloEva.Q_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloCon.Q_flow in file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloCon.Q_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.642728626999997]