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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 113.8 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 186 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9687/0.9707, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00321/0.9739, allocations: 2.071 MB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.9761, allocations: 1.682 MB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.9762, allocations: 2.25 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.668e-05/0.9762, allocations: 19.23 kB / 1.276 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.9764, allocations: 53.91 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.9774, allocations: 357.5 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.9776, allocations: 214.9 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.9778, allocations: 39.61 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.9779, allocations: 84.97 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.978, allocations: 84.97 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.978, allocations: 18.22 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.9788, allocations: 419.2 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.9789, allocations: 42.5 kB / 1.277 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.979, allocations: 90.19 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.9796, allocations: 432.4 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9796, allocations: 1.031 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9796, allocations: 0 / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.9796, allocations: 4 kB / 1.277 GB, free: 4.52 MB / 0.9981 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.0007878/0.9804, allocations: 0.5166 MB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9804, allocations: 10.3 kB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.981, allocations: 99.52 kB / 1.278 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.9811, allocations: 177.1 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.9812, allocations: 45.02 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.9812, allocations: 17.78 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.9816, allocations: 191.4 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.9816, allocations: 4.781 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.9817, allocations: 4.938 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.9817, allocations: 4.469 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.9821, allocations: 173.1 kB / 1.279 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.9834, allocations: 0.9155 MB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.9839, allocations: 160.1 kB / 1.28 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.9841, allocations: 71.14 kB / 1.28 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.9846, allocations: 0.52 MB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.9847, allocations: 36.94 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.9847, allocations: 0 / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0007383/0.9854, allocations: 238.5 kB / 1.28 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.9854, allocations: 53.38 kB / 1.281 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.9856, allocations: 162.2 kB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9856, allocations: 27.17 kB / 1.281 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.9857, allocations: 118.8 kB / 1.281 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.9857, allocations: 53.97 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.9858, allocations: 38.66 kB / 1.281 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.9858, allocations: 326.5 kB / 1.281 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.9861, allocations: 71.48 kB / 1.281 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.9863, allocations: 93.69 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.9866, allocations: 152.3 kB / 1.282 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9866, allocations: 8.406 kB / 1.282 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004828/0.9871, allocations: 213.7 kB / 1.282 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9871, allocations: 5.625 kB / 1.282 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9871, allocations: 4.75 kB / 1.282 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9871, allocations: 5.5 kB / 1.282 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.9874, allocations: 43.61 kB / 1.282 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.9874, allocations: 1.062 kB / 1.282 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.9876, allocations: 21.7 kB / 1.282 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.9876, allocations: 10.06 kB / 1.282 GB, free: 1.016 MB / 0.9981 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 7.981e-05/0.9877, allocations: 127.1 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.9877, allocations: 15.19 kB / 1.282 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.9882, allocations: 198 kB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9882, allocations: 3.688 kB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9883, allocations: 0.6094 kB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9883, allocations: 0.7969 kB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.9896, allocations: 0.9825 MB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9896, allocations: 4.547 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.9898, allocations: 31.98 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9898, allocations: 2.281 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.9898, allocations: 5.609 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.9898, allocations: 3.078 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9898, allocations: 0 / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.9903, allocations: 291.8 kB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.9904, allocations: 93.8 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.9904, allocations: 3.938 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.9906, allocations: 11.64 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.9907, allocations: 17.28 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.9907, allocations: 4.656 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.711e-05/0.9908, allocations: 126.7 kB / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9908, allocations: 0 / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005179/0.9913, allocations: 128 kB / 1.284 GB, free: 15.42 MB / 1.014 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.0004663/0.9918, allocations: 236.5 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.9923, allocations: 164.9 kB / 1.284 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9923, allocations: 0 / 1.284 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.9925, allocations: 75.94 kB / 1.284 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.9929, allocations: 41.95 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.9936, allocations: 339.4 kB / 1.285 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.9939, allocations: 0.7054 MB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.9941, allocations: 31.34 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.9941, allocations: 18.7 kB / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.9941, allocations: 0 / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of Templates: time 0.009258/1.003, allocations: 4.365 MB / 1.29 GB, free: 13.89 MB / 1.014 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.110953049734235]