Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001497/0.001497, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002006/0.002006, allocations: 214.9 kB / 22.25 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002156/0.002156, allocations: 64.69 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003577/0.4002, allocations: 1.991 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.4029, allocations: 1.523 MB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.4029, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.617e-05/0.403, allocations: 15.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.4031, allocations: 51.55 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.4042, allocations: 362.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.4044, allocations: 227.1 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.4046, allocations: 33.59 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.4047, allocations: 87.72 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4049, allocations: 75.67 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.4049, allocations: 19.98 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008037/0.4057, allocations: 407.5 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4058, allocations: 39.91 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.4059, allocations: 79.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.4065, allocations: 438.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4065, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4065, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4065, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 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.0009526/0.4075, allocations: 453.2 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4075, allocations: 16.03 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.4081, allocations: 84.75 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4082, allocations: 134.3 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4083, allocations: 71.97 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.4084, allocations: 12.38 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.4089, allocations: 245.4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4089, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.409, allocations: 11.98 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.409, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.4093, allocations: 127.9 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.4107, allocations: 0.6028 MB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.4128, allocations: 314.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.413, allocations: 80.81 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.4135, allocations: 76.12 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4135, allocations: 38.5 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.4135, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001737/0.4153, allocations: 388.4 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4153, allocations: 55.41 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4155, allocations: 130 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4155, allocations: 33.69 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4156, allocations: 116.3 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.4157, allocations: 55.53 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.4157, allocations: 37.64 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4159, allocations: 322.8 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.4162, allocations: 83.91 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.4164, allocations: 87.95 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.4168, allocations: 158.4 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4168, allocations: 0 / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009442/0.4178, allocations: 290.2 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4178, allocations: 4 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4178, allocations: 4 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.4184, allocations: 120.7 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.4197, allocations: 104 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/0.4206, allocations: 0.6342 MB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4208, allocations: 19.92 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4208, allocations: 11.98 kB / 1.335 GB, free: 7.414 MB / 1.029 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.0001388/0.4209, allocations: 122.4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.421, allocations: 7.953 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.4219, allocations: 290.8 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4219, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4219, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4219, allocations: 144 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.424, allocations: 0.6526 MB / 1.336 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.424, allocations: 3.984 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.4252, allocations: 100 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.4257, allocations: 123 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.4257, allocations: 8 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.4266, allocations: 0.6341 MB / 1.337 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4266, allocations: 4 kB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.4276, allocations: 357.8 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.4276, allocations: 15.83 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.4276, allocations: 8 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.4278, allocations: 15.98 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4279, allocations: 15.97 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4279, allocations: 4 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.127e-05/0.428, allocations: 103.3 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.428, allocations: 0 / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005176/0.4285, allocations: 131.6 kB / 1.338 GB, free: 4.727 MB / 1.029 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.0004545/0.429, allocations: 230.7 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.4299, allocations: 219.6 kB / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4299, allocations: 0 / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.4305, allocations: 130.8 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4309, allocations: 32.05 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.4318, allocations: 337.4 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.4319, allocations: 94.78 kB / 1.339 GB, free: 3.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.432, allocations: 24.08 kB / 1.339 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.432, allocations: 15.44 kB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.432, allocations: 4 kB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of Templates: time 0.009848/0.4419, allocations: 4.651 MB / 1.344 GB, free: 15.01 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.811414625495672]