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.001654/0.001654, allocations: 88.39 kB / 20.23 MB, free: 4.168 MB / 18.57 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.001924/0.001924, allocations: 161.3 kB / 23.54 MB, free: 0.8594 MB / 18.57 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.842/2.842, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.882e-05/4.051e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004724/0.004765, allocations: 1.988 MB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.008245, allocations: 1.526 MB / 0.7898 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.008395, allocations: 4 kB / 0.7898 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.897e-05/0.008484, allocations: 21.34 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.008757, allocations: 43.56 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.01065, allocations: 372.4 kB / 0.7902 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.01117, allocations: 237.3 kB / 0.7905 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.01139, allocations: 41.58 kB / 0.7905 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.01177, allocations: 123.8 kB / 0.7906 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.01201, allocations: 71.83 kB / 0.7907 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.01206, allocations: 16 kB / 0.7907 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.01351, allocations: 404 kB / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.01359, allocations: 45.55 kB / 0.7911 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.01374, allocations: 63.89 kB / 0.7912 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.0152, allocations: 498.5 kB / 0.7917 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01521, allocations: 0 / 0.7917 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01521, allocations: 1.75 kB / 0.7917 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.01522, allocations: 0 / 0.7917 GB, free: 7.371 MB / 0.7448 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.001465/0.01668, allocations: 453.9 kB / 0.7921 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.01674, allocations: 12.03 kB / 0.7921 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.01762, allocations: 105.3 kB / 0.7922 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.01785, allocations: 121.6 kB / 0.7923 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.01802, allocations: 75.95 kB / 0.7924 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.01807, allocations: 12.38 kB / 0.7924 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.01878, allocations: 246.1 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01879, allocations: 0.7188 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.01883, allocations: 10.03 kB / 0.7927 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.01885, allocations: 8.125 kB / 0.7927 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.01934, allocations: 128.8 kB / 0.7928 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.02143, allocations: 0.5856 MB / 0.7934 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.0241, allocations: 332.4 kB / 0.7937 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.0244, allocations: 78.78 kB / 0.7937 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.02503, allocations: 76.88 kB / 0.7938 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.02508, allocations: 37.94 kB / 0.7939 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.02508, allocations: 0 / 0.7939 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.002357/0.02743, allocations: 386.7 kB / 0.7942 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.02749, allocations: 55.69 kB / 0.7943 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.02767, allocations: 130.7 kB / 0.7944 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.02772, allocations: 33.7 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.02785, allocations: 117 kB / 0.7945 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.02793, allocations: 59.52 kB / 0.7946 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.02805, allocations: 36.52 kB / 0.7946 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.02827, allocations: 322.8 kB / 0.7949 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.02858, allocations: 79.95 kB / 0.795 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.02889, allocations: 82.02 kB / 0.7951 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.02949, allocations: 167.6 kB / 0.7953 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.0295, allocations: 0 / 0.7953 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001297/0.03079, allocations: 294.5 kB / 0.7955 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.03082, allocations: 5.125 kB / 0.7955 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.03083, allocations: 4 kB / 0.7956 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/0.03164, allocations: 126.1 kB / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.03309, allocations: 105.3 kB / 0.7958 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.03435, allocations: 0.6227 MB / 0.7964 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.0346, allocations: 31.81 kB / 0.7964 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.03463, allocations: 4 kB / 0.7964 GB, free: 2.316 MB / 0.7448 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.000209/0.03484, allocations: 125.8 kB / 0.7965 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.03492, allocations: 11.95 kB / 0.7965 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.03616, allocations: 293.8 kB / 0.7968 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.03617, allocations: 3.938 kB / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.03617, allocations: 0 / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.03618, allocations: 3.984 kB / 0.7968 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.03866, allocations: 0.6447 MB / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03866, allocations: 4.062 kB / 0.7975 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.04002, allocations: 103.9 kB / 0.7976 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/0.04067, allocations: 114.6 kB / 0.7977 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.0407, allocations: 15.98 kB / 0.7977 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.04198, allocations: 0.6267 MB / 0.7983 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.04198, allocations: 3.938 kB / 0.7983 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.04325, allocations: 354 kB / 0.7986 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.04329, allocations: 15.84 kB / 0.7987 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.04334, allocations: 15.92 kB / 0.7987 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.04363, allocations: 19.92 kB / 0.7987 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.04369, allocations: 15.92 kB / 0.7987 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.04372, allocations: 11.98 kB / 0.7987 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001192/0.04384, allocations: 100.3 kB / 0.7988 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.04384, allocations: 0 / 0.7988 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007659/0.04461, allocations: 127.6 kB / 0.7989 GB, free: 15.61 MB / 0.7605 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.0008154/0.04542, allocations: 242.6 kB / 0.7992 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.04672, allocations: 227.2 kB / 0.7994 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.04672, allocations: 0 / 0.7994 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.0475, allocations: 120.3 kB / 0.7995 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.04811, allocations: 48.03 kB / 0.7995 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.04924, allocations: 326.8 kB / 0.7999 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.04938, allocations: 94.72 kB / 0.7999 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.04952, allocations: 19.64 kB / 0.8 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.04959, allocations: 16.5 kB / 0.8 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/0.04959, allocations: 4 kB / 0.8 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.01393/0.06352, allocations: 4.506 MB / 0.8044 GB, free: 10.05 MB / 0.7605 GB " [Timeout remaining time 300] 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: 8.607870866078883]