Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002183/0.002183, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003059/0.003059, allocations: 216.2 kB / 22.25 MB, free: 4.852 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.895/2.895, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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_11_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_11_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.00217/0.00217, allocations: 65.94 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004348/0.3947, allocations: 1.989 MB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.3978, allocations: 1.522 MB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3979, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.398, allocations: 23.8 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3981, allocations: 47.55 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3995, allocations: 365.3 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.3998, allocations: 219.1 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.4, allocations: 41.59 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.4002, allocations: 79.78 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.4004, allocations: 79.66 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.4004, allocations: 20 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.4015, allocations: 411.5 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.4015, allocations: 39.89 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4016, allocations: 79.72 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.4025, allocations: 426.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4025, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4025, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4025, allocations: 4 kB / 1.288 GB, free: 6.605 MB / 0.9825 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.001053/0.4036, allocations: 461.1 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4036, allocations: 12.03 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.4043, allocations: 88.73 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.4044, allocations: 130.3 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.4046, allocations: 71.95 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.4046, allocations: 16.38 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.4052, allocations: 245.4 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4052, allocations: 3.938 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.4052, allocations: 4 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.4052, allocations: 4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.4056, allocations: 127.9 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.4072, allocations: 0.6104 MB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.4092, allocations: 310.3 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.4094, allocations: 88.75 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.4099, allocations: 72.14 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.4099, allocations: 42.55 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.41, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001726/0.4117, allocations: 392.6 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.4117, allocations: 55.41 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4119, allocations: 131.9 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4119, allocations: 29.7 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.412, allocations: 120.3 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.4121, allocations: 47.53 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.4122, allocations: 37.7 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4123, allocations: 322.8 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.4126, allocations: 87.89 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.4128, allocations: 87.84 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.4132, allocations: 159 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4132, allocations: 0 / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00094/0.4142, allocations: 290.3 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4142, allocations: 4 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4142, allocations: 3.938 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.4148, allocations: 127.8 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4161, allocations: 104 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009629/0.417, allocations: 0.6381 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.4172, allocations: 19.92 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.4172, allocations: 11.98 kB / 1.293 GB, free: 1.496 MB / 0.9825 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.0001665/0.4174, allocations: 124.3 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.4175, allocations: 7.953 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.4184, allocations: 285.1 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4184, allocations: 4 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4184, allocations: 0 / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4184, allocations: 3.984 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.4203, allocations: 0.6371 MB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4203, allocations: 4 kB / 1.294 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.4215, allocations: 99.95 kB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.422, allocations: 120.8 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4221, allocations: 4 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.423, allocations: 0.6303 MB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.423, allocations: 3.938 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.4239, allocations: 360.4 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.4239, allocations: 19.77 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.424, allocations: 8 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.4242, allocations: 19.97 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.4242, allocations: 19.92 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.4242, allocations: 7.938 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.4243, allocations: 96.52 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4243, allocations: 0 / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005583/0.4249, allocations: 139.5 kB / 1.295 GB, free: 14.81 MB / 0.9981 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.0005495/0.4254, allocations: 222.7 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009558/0.4264, allocations: 223.8 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4264, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.427, allocations: 127 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4274, allocations: 42.27 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.4282, allocations: 325.8 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.4283, allocations: 98.7 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.4284, allocations: 18.2 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4285, allocations: 19.44 kB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.4285, allocations: 0 / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.01016/0.4386, allocations: 4.653 MB / 1.301 GB, free: 9.125 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.579169876873493]