Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001238/0.001238, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.00142/0.00142, allocations: 221 kB / 22.26 MB, free: 5.215 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.917/2.917, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_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.00189/0.00189, allocations: 66.61 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2901, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003144/0.2933, allocations: 2.062 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.2957, allocations: 1.694 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.2958, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.2958, allocations: 23.78 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2959, allocations: 51.55 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.2968, allocations: 366.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.2971, allocations: 215.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2972, allocations: 37.89 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2973, allocations: 95.69 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2974, allocations: 83.69 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.2975, allocations: 20 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007497/0.2982, allocations: 427.5 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.2983, allocations: 35.91 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.2983, allocations: 91.64 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.2989, allocations: 434.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2989, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2989, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2989, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 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.0007572/0.2997, allocations: 453.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2997, allocations: 12.03 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.2998, allocations: 50.75 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/0.3003, allocations: 92.73 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3004, allocations: 130.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.3005, allocations: 67.97 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.3005, allocations: 20.31 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.3009, allocations: 201.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3009, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.301, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.301, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.3013, allocations: 127.9 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3026, allocations: 0.6841 MB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.3045, allocations: 330.2 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3047, allocations: 72.83 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.3051, allocations: 75.89 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3052, allocations: 38.56 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.3052, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001538/0.3067, allocations: 390.2 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3067, allocations: 55.41 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3069, allocations: 156.3 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3069, allocations: 25.7 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.307, allocations: 123.9 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.307, allocations: 55.53 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.3071, allocations: 41.64 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3072, allocations: 326.8 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3075, allocations: 79.95 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3077, allocations: 89.45 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.308, allocations: 158.1 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.308, allocations: 0 / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008848/0.3089, allocations: 287.8 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3089, allocations: 4 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3089, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.3094, allocations: 132.7 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3105, allocations: 104 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008161/0.3114, allocations: 0.6342 MB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3115, allocations: 23.92 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3116, allocations: 4 kB / 1.336 GB, free: 7.098 MB / 1.029 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.0001236/0.3117, allocations: 125.8 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.3117, allocations: 19.84 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.3126, allocations: 288.8 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3126, allocations: 0 / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3126, allocations: 0 / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3126, allocations: 4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.3143, allocations: 0.7027 MB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3143, allocations: 0 / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.3154, allocations: 108 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.3158, allocations: 124.7 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3159, allocations: 8 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007894/0.3167, allocations: 0.6303 MB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3167, allocations: 0 / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.3175, allocations: 364.3 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.3175, allocations: 19.89 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3176, allocations: 4 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3178, allocations: 19.98 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3178, allocations: 11.97 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3178, allocations: 4 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.651e-05/0.3179, allocations: 121.1 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3179, allocations: 3.938 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000425/0.3184, allocations: 135.5 kB / 1.339 GB, free: 4.301 MB / 1.029 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.001469/0.3198, allocations: 1.023 MB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008413/0.3207, allocations: 219.8 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3207, allocations: 0 / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.3212, allocations: 131.8 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3216, allocations: 53.53 kB / 1.34 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3251, allocations: 2.208 MB / 1.342 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3254, allocations: 0.7125 MB / 1.343 GB, free: 15.81 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.327e-05/0.3255, allocations: 25.42 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.3256, allocations: 39.42 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3256, allocations: 3.938 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.3596, allocations: 6.868 MB / 1.35 GB, free: 9.055 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 7.438 kB / 1.35 GB, free: 9.051 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pDis from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable com.pSuc in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable com.pSuc from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloEva.Q_flow in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloEva.Q_flow from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! Error: Could not read variable heaFloCon.Q_flow in file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv. Warning: Get data of variable heaFloCon.Q_flow from file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.781638210000892]