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.001627/0.001627, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001824/0.001824, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.312/3.312, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [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.00205/0.00205, allocations: 73.17 kB / 1.187 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003459/0.3732, allocations: 1.984 MB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3758, allocations: 1.515 MB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.3759, allocations: 7.938 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.09e-05/0.376, allocations: 19.78 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3761, allocations: 51.55 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3771, allocations: 358.8 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.3774, allocations: 219.1 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3775, allocations: 29.67 kB / 1.369 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3777, allocations: 83.83 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3778, allocations: 75.67 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.3778, allocations: 20 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.3786, allocations: 407.5 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.3787, allocations: 47.83 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.3788, allocations: 71.78 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.3794, allocations: 434.5 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3794, allocations: 0 / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3794, allocations: 0 / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3794, allocations: 0 / 1.37 GB, free: 8.312 MB / 1.061 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.0008644/0.3803, allocations: 457.2 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3803, allocations: 8.031 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.3833, allocations: 324.4 kB / 1.371 GB, free: 7.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3835, allocations: 118.4 kB / 1.371 GB, free: 7.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3836, allocations: 75.95 kB / 1.371 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.3836, allocations: 16.38 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3851, allocations: 393.1 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3852, allocations: 3.938 kB / 1.371 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.3852, allocations: 8 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3852, allocations: 4 kB / 1.371 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.3875, allocations: 367.6 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3891, allocations: 0.7448 MB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00471/0.3938, allocations: 0.6463 MB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.395, allocations: 196.7 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3951, allocations: 15.94 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3951, allocations: 46.44 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.3951, allocations: 0 / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004457/0.3996, allocations: 0.7072 MB / 1.374 GB, free: 4.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3996, allocations: 55.34 kB / 1.374 GB, free: 4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3997, allocations: 126 kB / 1.374 GB, free: 3.867 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.3998, allocations: 29.7 kB / 1.374 GB, free: 3.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3999, allocations: 128.2 kB / 1.374 GB, free: 3.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.4, allocations: 55.53 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4001, allocations: 41.69 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4002, allocations: 322.8 kB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4014, allocations: 195.8 kB / 1.375 GB, free: 3.086 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4026, allocations: 209.5 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.4047, allocations: 358 kB / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4047, allocations: 0 / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002774/0.4075, allocations: 0.5004 MB / 1.376 GB, free: 2.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4075, allocations: 8 kB / 1.376 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4075, allocations: 0 / 1.376 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.4081, allocations: 123.2 kB / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.4098, allocations: 159.9 kB / 1.376 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/0.4107, allocations: 0.6264 MB / 1.377 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.4114, allocations: 59.86 kB / 1.377 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.4114, allocations: 15.98 kB / 1.377 GB, free: 1.012 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.0001792/0.4116, allocations: 122.9 kB / 1.377 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.4117, allocations: 15.91 kB / 1.377 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.4145, allocations: 0.5261 MB / 1.377 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4145, allocations: 7.938 kB / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4145, allocations: 0 / 1.377 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4146, allocations: 7.984 kB / 1.377 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.4194, allocations: 0.9644 MB / 1.378 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4194, allocations: 0 / 1.378 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.4211, allocations: 151.9 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.4216, allocations: 119.5 kB / 1.379 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.4216, allocations: 7.984 kB / 1.379 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008721/0.4225, allocations: 0.6381 MB / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4225, allocations: 0 / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.4253, allocations: 0.5562 MB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.4253, allocations: 15.88 kB / 1.38 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.4253, allocations: 4 kB / 1.38 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.426, allocations: 59.92 kB / 1.38 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.4261, allocations: 12.27 kB / 1.38 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.4261, allocations: 11.98 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.833e-05/0.4262, allocations: 99.27 kB / 1.38 GB, free: 13.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4262, allocations: 3.938 kB / 1.38 GB, free: 13.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005406/0.4267, allocations: 131.5 kB / 1.38 GB, free: 13.46 MB / 1.076 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.0004592/0.4272, allocations: 218.8 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.4301, allocations: 455.4 kB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4301, allocations: 0 / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.4316, allocations: 239.7 kB / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.432, allocations: 30.23 kB / 1.381 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4342, allocations: 0.4969 MB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4343, allocations: 102.6 kB / 1.382 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.4345, allocations: 31.41 kB / 1.382 GB, free: 11.84 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/0.4345, allocations: 0 / 1.382 GB, free: 11.84 MB / 1.076 GB Notification: Performance of Templates: time 0.00802/0.4425, allocations: 4.927 MB / 1.386 GB, free: 6.93 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.179186108056456]