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.001215/0.001215, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001368/0.001368, allocations: 220.3 kB / 23.01 MB, free: 4.609 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.313/1.313, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.934/2.934, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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: 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.00191/0.00191, allocations: 70.91 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00321/0.3313, allocations: 2.073 MB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.3338, allocations: 1.678 MB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.3338, allocations: 0 / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.174e-05/0.3339, allocations: 27.78 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.334, allocations: 47.55 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.335, allocations: 358.8 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.3352, allocations: 215.2 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3353, allocations: 45.59 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3354, allocations: 91.66 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3356, allocations: 87.72 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.3356, allocations: 16 kB / 1.359 GB, free: 3.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007554/0.3364, allocations: 423.4 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.3364, allocations: 39.91 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.3365, allocations: 87.64 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.3371, allocations: 430.7 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3371, allocations: 0 / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3371, allocations: 4 kB / 1.36 GB, free: 2.309 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3371, allocations: 0 / 1.36 GB, free: 2.309 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.0007978/0.3379, allocations: 457.2 kB / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3379, allocations: 8.031 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.341, allocations: 328.4 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3411, allocations: 122.4 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.3412, allocations: 71.95 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.3413, allocations: 16.38 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3427, allocations: 337.7 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3427, allocations: 7.922 kB / 1.361 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.3427, allocations: 8 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3427, allocations: 4 kB / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.3448, allocations: 371.6 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3465, allocations: 0.8262 MB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.351, allocations: 0.6501 MB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.3521, allocations: 197 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3522, allocations: 15.91 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3523, allocations: 42.48 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.063e-06/0.3523, allocations: 4 kB / 1.363 GB, free: 14.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004179/0.3564, allocations: 0.7088 MB / 1.364 GB, free: 14.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3565, allocations: 51.41 kB / 1.364 GB, free: 13.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3566, allocations: 164.8 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.3567, allocations: 29.7 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.3567, allocations: 115.9 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.3568, allocations: 51.53 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3569, allocations: 49.64 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.357, allocations: 322.8 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3582, allocations: 207.8 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3593, allocations: 205.5 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.3613, allocations: 354.5 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3613, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002617/0.3639, allocations: 0.5019 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3639, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3639, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.3645, allocations: 124.7 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3661, allocations: 155.8 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008196/0.3669, allocations: 0.6265 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.3675, allocations: 71.77 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.3676, allocations: 11.98 kB / 1.367 GB, free: 10.94 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.0001509/0.3677, allocations: 134.4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.3678, allocations: 15.89 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.3704, allocations: 0.5117 MB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3704, allocations: 8.078 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3705, allocations: 3.984 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3705, allocations: 7.984 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.375, allocations: 1.026 MB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.375, allocations: 0 / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.3765, allocations: 147.9 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.377, allocations: 124.7 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.377, allocations: 11.92 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007717/0.3778, allocations: 0.6343 MB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3778, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.3804, allocations: 0.5626 MB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3804, allocations: 7.953 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3804, allocations: 7.984 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.3811, allocations: 59.92 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3811, allocations: 11.98 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3812, allocations: 11.98 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.992e-05/0.3812, allocations: 121.8 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3812, allocations: 0 / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004747/0.3817, allocations: 127.6 kB / 1.37 GB, free: 7.289 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.0003999/0.3821, allocations: 222.7 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.3848, allocations: 459.4 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3848, allocations: 0 / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.3862, allocations: 238.7 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3866, allocations: 49.75 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3888, allocations: 0.5031 MB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3891, allocations: 0.7124 MB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3893, allocations: 35.41 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3893, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of Templates: time 0.007808/0.3971, allocations: 5.124 MB / 1.377 GB, free: 15.92 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: 10.900266729993746]