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.0008773/0.0008773, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008602/0.0008602, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8675/0.8675, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.759e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003885/0.003922, allocations: 1.989 MB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.006606, allocations: 1.53 MB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.006706, allocations: 0 / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 7.534e-05/0.006782, allocations: 19.8 kB / 0.9857 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.006918, allocations: 47.55 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.008386, allocations: 382.4 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.008698, allocations: 223 kB / 0.9863 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.008863, allocations: 37.64 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.00906, allocations: 123.8 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.00921, allocations: 59.86 kB / 0.9865 GB, free: 13.65 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.009249, allocations: 23.94 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.01016, allocations: 403.4 kB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.01022, allocations: 51.83 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.01031, allocations: 63.83 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.01118, allocations: 494.6 kB / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01118, allocations: 0 / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.385e-06/0.01118, allocations: 0 / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01119, allocations: 0 / 0.9875 GB, free: 12.64 MB / 0.948 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.0009267/0.01212, allocations: 457.2 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.01216, allocations: 12.03 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.01271, allocations: 84.78 kB / 0.988 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.01285, allocations: 137.5 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.01297, allocations: 75.95 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.01301, allocations: 16.38 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.0135, allocations: 238.1 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01351, allocations: 192 / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.01354, allocations: 8.375 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.01355, allocations: 8.125 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01388, allocations: 132.6 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.0153, allocations: 0.5952 MB / 0.9892 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.01693, allocations: 326.2 kB / 0.9895 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.01714, allocations: 80.83 kB / 0.9896 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.01753, allocations: 67.91 kB / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.01756, allocations: 34.56 kB / 0.9897 GB, free: 10.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.01757, allocations: 0 / 0.9897 GB, free: 10.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001563/0.01913, allocations: 392.1 kB / 0.99 GB, free: 9.867 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.01917, allocations: 51.69 kB / 0.9901 GB, free: 9.805 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.0193, allocations: 137 kB / 0.9902 GB, free: 9.664 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.01933, allocations: 29.7 kB / 0.9902 GB, free: 9.629 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.01941, allocations: 120.4 kB / 0.9904 GB, free: 9.508 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.01946, allocations: 51.52 kB / 0.9904 GB, free: 9.457 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.01955, allocations: 41.7 kB / 0.9904 GB, free: 9.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01966, allocations: 318.8 kB / 0.9907 GB, free: 9.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.02, allocations: 79.95 kB / 0.9908 GB, free: 9.012 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.02025, allocations: 83.95 kB / 0.9909 GB, free: 8.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.02063, allocations: 155.6 kB / 0.9911 GB, free: 8.777 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02064, allocations: 0 / 0.9911 GB, free: 8.777 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005389/0.02118, allocations: 298.2 kB / 0.9913 GB, free: 8.477 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.02119, allocations: 4 kB / 0.9913 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.0212, allocations: 0 / 0.9913 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.02158, allocations: 124.7 kB / 0.9915 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.02214, allocations: 104 kB / 0.9916 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/0.02265, allocations: 0.6303 MB / 0.9922 GB, free: 7.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.02274, allocations: 27.86 kB / 0.9922 GB, free: 7.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.02276, allocations: 7.984 kB / 0.9922 GB, free: 7.555 MB / 0.948 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 9.833e-05/0.02285, allocations: 125.8 kB / 0.9923 GB, free: 7.422 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.02288, allocations: 7.953 kB / 0.9923 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.02341, allocations: 285.4 kB / 0.9926 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.02342, allocations: 7.938 kB / 0.9926 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.02343, allocations: 0 / 0.9926 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02343, allocations: 0 / 0.9926 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.02445, allocations: 0.6447 MB / 0.9932 GB, free: 6.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.02446, allocations: 12.06 kB / 0.9933 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.02498, allocations: 91.95 kB / 0.9933 GB, free: 6.328 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.02526, allocations: 127.2 kB / 0.9935 GB, free: 6.203 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.02527, allocations: 4 kB / 0.9935 GB, free: 6.199 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004426/0.02572, allocations: 0.6303 MB / 0.9941 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02572, allocations: 0 / 0.9941 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.02619, allocations: 365.2 kB / 0.9944 GB, free: 5.164 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.02621, allocations: 19.89 kB / 0.9945 GB, free: 5.145 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.02624, allocations: 0 / 0.9945 GB, free: 5.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.02634, allocations: 27.91 kB / 0.9945 GB, free: 5.117 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.02637, allocations: 11.98 kB / 0.9945 GB, free: 5.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.02638, allocations: 4 kB / 0.9945 GB, free: 5.102 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.02642, allocations: 99.27 kB / 0.9946 GB, free: 5.004 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.02642, allocations: 0 / 0.9946 GB, free: 5.004 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003565/0.02678, allocations: 131.6 kB / 0.9947 GB, free: 4.875 MB / 0.948 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.0003461/0.02712, allocations: 246.6 kB / 0.995 GB, free: 4.625 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.02762, allocations: 228.1 kB / 0.9952 GB, free: 4.406 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02763, allocations: 0 / 0.9952 GB, free: 4.406 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.02788, allocations: 123.8 kB / 0.9953 GB, free: 4.285 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.02819, allocations: 32.08 kB / 0.9953 GB, free: 4.254 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.02873, allocations: 338.4 kB / 0.9956 GB, free: 3.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.02879, allocations: 98.77 kB / 0.9957 GB, free: 3.766 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.02884, allocations: 24.44 kB / 0.9958 GB, free: 3.742 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.02884, allocations: 0 / 0.9958 GB, free: 3.742 MB / 0.948 GB Notification: Performance of Templates: time 0.004591/0.03343, allocations: 4.228 MB / 0.9999 GB, free: 15.53 MB / 0.9636 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: 6.885442361235619]