Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000845/0.000845, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0009391/0.0009391, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9259/0.9259, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.902/1.902, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 71.89 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6855, allocations: 180 MB / 1.352 GB, free: 1.746 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002289/0.6878, allocations: 2.002 MB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.6894, allocations: 1.511 MB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.6894, allocations: 4 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.6895, allocations: 19.78 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.6896, allocations: 51.55 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.6903, allocations: 358.8 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.6905, allocations: 227 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.6906, allocations: 43.69 kB / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.6907, allocations: 75.83 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.6908, allocations: 83.67 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.6908, allocations: 16 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.6913, allocations: 407.5 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.6913, allocations: 39.89 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.6914, allocations: 79.72 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.6918, allocations: 422.7 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6918, allocations: 0 / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6918, allocations: 0 / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6918, allocations: 0 / 1.358 GB, free: 12.43 MB / 1.042 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.0009077/0.6927, allocations: 457.2 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6928, allocations: 16.92 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.6928, allocations: 50.73 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.6941, allocations: 320.4 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.6942, allocations: 118.4 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.6943, allocations: 79.95 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.6943, allocations: 12.38 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.6951, allocations: 393.8 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6951, allocations: 4 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.6951, allocations: 12 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.6951, allocations: 4 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.6961, allocations: 364.2 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.6971, allocations: 0.7754 MB / 1.36 GB, free: 9.715 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.6992, allocations: 0.6502 MB / 1.361 GB, free: 9.055 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.6997, allocations: 196.7 kB / 1.361 GB, free: 8.859 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.191e-05/0.6998, allocations: 15.94 kB / 1.361 GB, free: 8.844 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6998, allocations: 30.56 kB / 1.361 GB, free: 8.805 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.6998, allocations: 3.938 kB / 1.361 GB, free: 8.801 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.002086/0.7019, allocations: 0.7229 MB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.7019, allocations: 55.34 kB / 1.362 GB, free: 8.008 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.702, allocations: 152.5 kB / 1.362 GB, free: 7.852 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.7021, allocations: 33.69 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.7021, allocations: 119.9 kB / 1.362 GB, free: 7.691 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.7022, allocations: 51.53 kB / 1.362 GB, free: 7.641 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.7022, allocations: 45.69 kB / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7023, allocations: 326.8 kB / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.7029, allocations: 199.8 kB / 1.363 GB, free: 7.066 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.7034, allocations: 205.4 kB / 1.363 GB, free: 6.867 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/0.7043, allocations: 350.6 kB / 1.363 GB, free: 6.523 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7043, allocations: 4 kB / 1.363 GB, free: 6.52 MB / 1.042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001253/0.7056, allocations: 0.498 MB / 1.364 GB, free: 6.012 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7056, allocations: 8 kB / 1.364 GB, free: 6.004 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7056, allocations: 0 / 1.364 GB, free: 6.004 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.706, allocations: 124.8 kB / 1.364 GB, free: 5.879 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.7067, allocations: 155.9 kB / 1.364 GB, free: 5.727 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005018/0.7072, allocations: 0.6342 MB / 1.365 GB, free: 5.066 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.7075, allocations: 63.83 kB / 1.365 GB, free: 5.004 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002852/0.7078, allocations: 11.98 kB / 1.365 GB, free: 4.992 MB / 1.042 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 9.501e-05/0.7078, allocations: 129.8 kB / 1.365 GB, free: 4.855 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.7079, allocations: 23.83 kB / 1.365 GB, free: 4.832 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.7093, allocations: 0.5227 MB / 1.365 GB, free: 4.301 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7093, allocations: 4 kB / 1.365 GB, free: 4.297 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7093, allocations: 0 / 1.365 GB, free: 4.297 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7093, allocations: 7.984 kB / 1.365 GB, free: 4.289 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.7115, allocations: 1.003 MB / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7115, allocations: 0 / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.7122, allocations: 147.9 kB / 1.366 GB, free: 3.082 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.7125, allocations: 120.8 kB / 1.367 GB, free: 2.961 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.7125, allocations: 7.984 kB / 1.367 GB, free: 2.953 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/0.7129, allocations: 0.6381 MB / 1.367 GB, free: 2.289 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7129, allocations: 0 / 1.367 GB, free: 2.289 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.7142, allocations: 0.5586 MB / 1.368 GB, free: 1.707 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.7142, allocations: 19.83 kB / 1.368 GB, free: 1.688 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.7142, allocations: 0 / 1.368 GB, free: 1.688 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.7145, allocations: 67.86 kB / 1.368 GB, free: 1.621 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.7145, allocations: 7.984 kB / 1.368 GB, free: 1.613 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.7146, allocations: 15.98 kB / 1.368 GB, free: 1.598 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.7146, allocations: 120.3 kB / 1.368 GB, free: 1.48 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7146, allocations: 0 / 1.368 GB, free: 1.48 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003356/0.715, allocations: 127.6 kB / 1.368 GB, free: 1.355 MB / 1.042 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.001663/0.7166, allocations: 1.214 MB / 1.369 GB, free: 112 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.7179, allocations: 447.5 kB / 1.37 GB, free: 15.67 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7179, allocations: 0 / 1.37 GB, free: 15.67 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006625/0.7186, allocations: 247.7 kB / 1.37 GB, free: 15.43 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.7189, allocations: 53.2 kB / 1.37 GB, free: 15.38 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.7239, allocations: 2.926 MB / 1.373 GB, free: 12.35 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.7239, allocations: 98.92 kB / 1.373 GB, free: 12.24 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.7241, allocations: 57.2 kB / 1.373 GB, free: 12.19 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.7242, allocations: 47.41 kB / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of SimCode: time 6.82e-07/0.7242, allocations: 0 / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08049/0.8047, allocations: 9.218 MB / 1.382 GB, free: 3.16 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.627, allocations: 11.36 kB / 1.382 GB, free: 3.152 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../Buildings_13_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.333160411566496]