Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001631/0.001631, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001791/0.001791, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.289/3.289, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [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.002064/0.002064, allocations: 69.42 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003843/0.3754, allocations: 1.986 MB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3781, allocations: 1.507 MB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.3782, allocations: 4 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.3783, allocations: 19.84 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3785, allocations: 47.56 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3799, allocations: 361.8 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.3803, allocations: 227 kB / 1.369 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.3805, allocations: 37.59 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3806, allocations: 79.84 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3808, allocations: 79.66 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.3808, allocations: 24 kB / 1.369 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.3818, allocations: 403.5 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.3818, allocations: 35.91 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3819, allocations: 83.7 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.3827, allocations: 430.6 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3827, allocations: 3.938 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3827, allocations: 0 / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3827, allocations: 0 / 1.37 GB, free: 8.262 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.0009535/0.3836, allocations: 457.2 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3837, allocations: 8.031 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.3866, allocations: 324.4 kB / 1.371 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3868, allocations: 118.4 kB / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.3869, allocations: 71.95 kB / 1.371 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.3869, allocations: 20.38 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3885, allocations: 393.1 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3885, allocations: 3.938 kB / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.3885, allocations: 4 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3885, allocations: 4 kB / 1.371 GB, free: 6.797 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.3907, allocations: 367.6 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.3925, allocations: 0.7371 MB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004686/0.3971, allocations: 0.6463 MB / 1.373 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3983, allocations: 204.5 kB / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.3984, allocations: 15.94 kB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3984, allocations: 34.56 kB / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.3984, allocations: 0 / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004509/0.4029, allocations: 0.7177 MB / 1.374 GB, free: 4.023 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.403, allocations: 51.41 kB / 1.374 GB, free: 3.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4031, allocations: 130 kB / 1.374 GB, free: 3.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.4032, allocations: 29.7 kB / 1.374 GB, free: 3.789 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4033, allocations: 132.2 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.4034, allocations: 47.53 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4035, allocations: 45.69 kB / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4036, allocations: 322.8 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.4048, allocations: 195.8 kB / 1.375 GB, free: 3.043 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.406, allocations: 203.8 kB / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.4081, allocations: 363.9 kB / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4081, allocations: 0 / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002714/0.4108, allocations: 0.498 MB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4108, allocations: 4 kB / 1.376 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4108, allocations: 4 kB / 1.376 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.4114, allocations: 119.4 kB / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4131, allocations: 151.9 kB / 1.376 GB, free: 1.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/0.414, allocations: 0.6342 MB / 1.377 GB, free: 1.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.4146, allocations: 71.86 kB / 1.377 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.4147, allocations: 11.98 kB / 1.377 GB, free: 0.9648 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.0001819/0.4148, allocations: 121.8 kB / 1.377 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.4149, allocations: 15.91 kB / 1.377 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.4178, allocations: 0.5191 MB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4178, allocations: 8 kB / 1.377 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4178, allocations: 0 / 1.377 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4178, allocations: 0 / 1.377 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.4226, allocations: 0.9788 MB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4226, allocations: 0 / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.4242, allocations: 147.9 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.4247, allocations: 120.8 kB / 1.379 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.4248, allocations: 7.984 kB / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008739/0.4256, allocations: 0.6342 MB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4256, allocations: 0 / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.4284, allocations: 0.5526 MB / 1.38 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.4284, allocations: 23.88 kB / 1.38 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.4285, allocations: 7.984 kB / 1.38 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.4291, allocations: 55.92 kB / 1.38 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.4292, allocations: 11.98 kB / 1.38 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.4292, allocations: 7.984 kB / 1.38 GB, free: 13.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.4293, allocations: 101.9 kB / 1.38 GB, free: 13.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.4293, allocations: 0 / 1.38 GB, free: 13.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005452/0.4298, allocations: 131.5 kB / 1.38 GB, free: 13.42 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.0004501/0.4303, allocations: 214.8 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.4331, allocations: 459.3 kB / 1.381 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.4331, allocations: 0 / 1.381 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.4346, allocations: 235.7 kB / 1.381 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.4351, allocations: 32.05 kB / 1.381 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.4374, allocations: 0.525 MB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.4376, allocations: 102.6 kB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4377, allocations: 27.41 kB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/0.4377, allocations: 4 kB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of Templates: time 0.008639/0.4464, allocations: 4.932 MB / 1.386 GB, free: 6.871 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.17780989361927]