Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001708/0.001708, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002064/0.002064, allocations: 162.2 kB / 22.46 MB, free: 5.359 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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 2.973/2.973, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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,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") 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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.911e-05, allocations: 6.219 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004013/0.004043, allocations: 1.988 MB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.006895, allocations: 1.503 MB / 1.004 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.006983, allocations: 4 kB / 1.004 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.007057, allocations: 23.78 kB / 1.004 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.007186, allocations: 55.55 kB / 1.004 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.008465, allocations: 370.4 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.008797, allocations: 227 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.008959, allocations: 37.64 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.009194, allocations: 123.8 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.009364, allocations: 67.78 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.009411, allocations: 20 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/0.01035, allocations: 411.3 kB / 1.005 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.01041, allocations: 39.83 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.0105, allocations: 63.89 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.01141, allocations: 490.6 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01142, allocations: 0 / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01142, allocations: 4 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.01143, allocations: 0 / 1.005 GB, free: 1.883 MB / 0.9512 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.001067/0.0125, allocations: 453.2 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.01253, allocations: 11.97 kB / 1.006 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/0.01591, allocations: 324.4 kB / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.01607, allocations: 125.6 kB / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.01619, allocations: 79.95 kB / 1.006 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.01624, allocations: 12.38 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.01788, allocations: 381.9 kB / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01789, allocations: 4.172 kB / 1.007 GB, free: 440 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.01793, allocations: 12.36 kB / 1.007 GB, free: 428 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01794, allocations: 8.125 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.02046, allocations: 364.2 kB / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.02229, allocations: 0.726 MB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/0.02765, allocations: 0.6346 MB / 1.008 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.02898, allocations: 200.7 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.02908, allocations: 11.98 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.02912, allocations: 46.5 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.02912, allocations: 0 / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.005085/0.03421, allocations: 0.7148 MB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.03432, allocations: 55.41 kB / 1.009 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.03445, allocations: 122.1 kB / 1.01 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.03451, allocations: 37.64 kB / 1.01 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.03461, allocations: 120.3 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.03469, allocations: 51.59 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.03481, allocations: 45.67 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.03503, allocations: 318.8 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.03634, allocations: 203.8 kB / 1.01 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.03763, allocations: 207.8 kB / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.04014, allocations: 352.8 kB / 1.011 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.04014, allocations: 4 kB / 1.011 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003115/0.04325, allocations: 0.5058 MB / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.04328, allocations: 6.344 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.04328, allocations: 0 / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.04396, allocations: 124 kB / 1.011 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.04585, allocations: 155.9 kB / 1.012 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.0469, allocations: 0.6303 MB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.04767, allocations: 67.8 kB / 1.012 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.04771, allocations: 11.98 kB / 1.012 GB, free: 10.61 MB / 0.9669 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.0002127/0.04792, allocations: 122.4 kB / 1.012 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.04799, allocations: 7.953 kB / 1.012 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.05118, allocations: 0.5314 MB / 1.013 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.05119, allocations: 4.078 kB / 1.013 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.0512, allocations: 0 / 1.013 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.0512, allocations: 3.984 kB / 1.013 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.05662, allocations: 0.9685 MB / 1.014 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.05663, allocations: 7.875 kB / 1.014 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.05842, allocations: 147.9 kB / 1.014 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005664/0.05899, allocations: 120.7 kB / 1.014 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.05903, allocations: 11.98 kB / 1.014 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.06009, allocations: 0.6342 MB / 1.015 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.06009, allocations: 0 / 1.015 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.06318, allocations: 0.5485 MB / 1.015 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.06321, allocations: 11.89 kB / 1.015 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.06326, allocations: 4 kB / 1.015 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.06403, allocations: 59.86 kB / 1.015 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.06409, allocations: 19.91 kB / 1.015 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.06412, allocations: 7.984 kB / 1.015 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.028e-05/0.0642, allocations: 102 kB / 1.015 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.0642, allocations: 0 / 1.015 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005643/0.06477, allocations: 131.6 kB / 1.016 GB, free: 7.062 MB / 0.9669 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.0005978/0.06537, allocations: 230.7 kB / 1.016 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.06863, allocations: 459.5 kB / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.06863, allocations: 0 / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.07032, allocations: 235.8 kB / 1.016 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.07076, allocations: 27.98 kB / 1.017 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.07332, allocations: 482.8 kB / 1.017 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.07344, allocations: 90.78 kB / 1.017 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.07371, allocations: 52.39 kB / 1.017 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.07388, allocations: 24.47 kB / 1.017 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/0.07388, allocations: 0 / 1.017 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of Templates: time 0.01298/0.08686, allocations: 6.091 MB / 1.023 GB, free: 15.4 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.563935421407223]