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.001457/0.001457, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001637/0.001637, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.841/2.841, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.002028/0.002028, allocations: 74.36 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9665/0.9686, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003153/0.9717, allocations: 2.054 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.9739, allocations: 1.698 MB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.974, allocations: 2.562 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.287e-05/0.974, allocations: 11.16 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.9741, allocations: 48.45 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.975, allocations: 364.6 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.9752, allocations: 222 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.9753, allocations: 38.19 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.9754, allocations: 85.55 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.9755, allocations: 89.5 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.9756, allocations: 21.78 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006487/0.9762, allocations: 416.8 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.9763, allocations: 37.3 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.9764, allocations: 87.88 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.977, allocations: 439.3 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.977, allocations: 0.7188 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.977, allocations: 0 / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.977, allocations: 0 / 1.327 GB, free: 21.64 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.0008299/0.9778, allocations: 0.5215 MB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9779, allocations: 13.8 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.9785, allocations: 92.23 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.9786, allocations: 181 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.9787, allocations: 55.05 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.9787, allocations: 13.47 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.9791, allocations: 186.2 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9791, allocations: 4.75 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.9792, allocations: 13.34 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.9792, allocations: 8.156 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.9796, allocations: 173.5 kB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.9809, allocations: 0.9064 MB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.9814, allocations: 165.1 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.9817, allocations: 70.88 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.9822, allocations: 0.5153 MB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.9822, allocations: 37.25 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.9823, allocations: 0 / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007967/0.983, allocations: 240.3 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.9831, allocations: 57.16 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.9832, allocations: 159.4 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.9832, allocations: 31.11 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.9833, allocations: 122.6 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.9834, allocations: 45.97 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.9834, allocations: 39.83 kB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.9835, allocations: 321.6 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.9837, allocations: 79.47 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.9839, allocations: 96.48 kB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.9843, allocations: 140.8 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9843, allocations: 4.688 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005215/0.9848, allocations: 218.6 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9849, allocations: 6.234 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9849, allocations: 0.7812 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.9849, allocations: 1.375 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.9851, allocations: 43.25 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9852, allocations: 1.5 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.9853, allocations: 25.52 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.9854, allocations: 9.078 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/0.9855, allocations: 132.5 kB / 1.332 GB, free: 18.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.9855, allocations: 11.11 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.9861, allocations: 203.6 kB / 1.332 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9861, allocations: 1.25 kB / 1.332 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9861, allocations: 5.406 kB / 1.332 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9861, allocations: 1.266 kB / 1.332 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.9875, allocations: 0.9834 MB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9875, allocations: 0 / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.9877, allocations: 33.03 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9877, allocations: 1.031 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.9877, allocations: 2.938 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9877, allocations: 5.344 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9877, allocations: 2.125 kB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.9882, allocations: 298.3 kB / 1.333 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.9883, allocations: 90.52 kB / 1.334 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.9883, allocations: 5.844 kB / 1.334 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.9885, allocations: 17.39 kB / 1.334 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.9886, allocations: 25.86 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.9886, allocations: 4.047 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.958e-05/0.9887, allocations: 120.3 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9887, allocations: 0 / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005891/0.9893, allocations: 130.2 kB / 1.334 GB, free: 16.53 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004665/0.9897, allocations: 234.5 kB / 1.334 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.9902, allocations: 163.6 kB / 1.334 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9902, allocations: 0 / 1.334 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.9904, allocations: 78.72 kB / 1.334 GB, free: 16.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.9909, allocations: 38.38 kB / 1.334 GB, free: 16.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.9916, allocations: 352.2 kB / 1.335 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.9917, allocations: 0.7112 MB / 1.335 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.9918, allocations: 25.67 kB / 1.335 GB, free: 15.34 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9918, allocations: 1.031 kB / 1.335 GB, free: 15.34 MB / 1.061 GB Notification: Performance of Templates: time 0.008126/1, allocations: 3.933 MB / 1.339 GB, free: 14.91 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.046126372006256]