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.002721/0.002721, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003457/0.003457, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.627/1.627, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.874/2.874, allocations: 359 MB / 0.6048 GB, free: 10.95 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.693e-06/1.693e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.592e-05, allocations: 6.25 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003866/0.003902, allocations: 2.051 MB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.007039, allocations: 1.651 MB / 0.79 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.007117, allocations: 4 kB / 0.79 GB, free: 7.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.007181, allocations: 15.8 kB / 0.79 GB, free: 7.961 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.00732, allocations: 55.05 kB / 0.7901 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.008553, allocations: 370.5 kB / 0.7904 GB, free: 7.547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.008861, allocations: 227 kB / 0.7906 GB, free: 7.324 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.009004, allocations: 34.38 kB / 0.7907 GB, free: 7.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.00921, allocations: 127.8 kB / 0.7908 GB, free: 7.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.009377, allocations: 65.52 kB / 0.7909 GB, free: 7.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.009421, allocations: 16 kB / 0.7909 GB, free: 7.086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.01037, allocations: 416.5 kB / 0.7913 GB, free: 6.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.01043, allocations: 43.89 kB / 0.7913 GB, free: 6.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.01053, allocations: 59.89 kB / 0.7914 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.01142, allocations: 495.1 kB / 0.7918 GB, free: 6.094 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01142, allocations: 0 / 0.7918 GB, free: 6.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01142, allocations: 0.8438 kB / 0.7918 GB, free: 6.094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.01143, allocations: 0 / 0.7918 GB, free: 6.094 MB / 0.698 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.001291/0.01272, allocations: 0.5596 MB / 0.7924 GB, free: 5.496 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.01276, allocations: 12.03 kB / 0.7924 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.01333, allocations: 92.02 kB / 0.7925 GB, free: 5.398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.01348, allocations: 132.4 kB / 0.7926 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.01361, allocations: 73.05 kB / 0.7927 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.01365, allocations: 20.38 kB / 0.7927 GB, free: 5.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.01412, allocations: 233.4 kB / 0.7929 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01414, allocations: 5.094 kB / 0.7929 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.01416, allocations: 8.375 kB / 0.7929 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01418, allocations: 9.75 kB / 0.7929 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.01448, allocations: 120.8 kB / 0.7931 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.01602, allocations: 0.6694 MB / 0.7937 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.01776, allocations: 271.6 kB / 0.794 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.01794, allocations: 67.67 kB / 0.794 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/0.01836, allocations: 65.69 kB / 0.7941 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.0184, allocations: 37.38 kB / 0.7941 GB, free: 3.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 5.39e-06/0.01841, allocations: 9.203 kB / 0.7941 GB, free: 3.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001601/0.02001, allocations: 348.8 kB / 0.7945 GB, free: 3.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.02006, allocations: 55.69 kB / 0.7945 GB, free: 3.184 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.02025, allocations: 197.8 kB / 0.7947 GB, free: 2.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.02029, allocations: 29.69 kB / 0.7947 GB, free: 2.938 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.02042, allocations: 170.1 kB / 0.7949 GB, free: 2.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.02048, allocations: 55.53 kB / 0.795 GB, free: 2.715 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02059, allocations: 47.36 kB / 0.795 GB, free: 2.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002858/0.02088, allocations: 0.4962 MB / 0.7955 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.02108, allocations: 75.97 kB / 0.7956 GB, free: 2.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.02127, allocations: 82.83 kB / 0.7956 GB, free: 2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.02166, allocations: 157 kB / 0.7958 GB, free: 1.844 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02166, allocations: 0 / 0.7958 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008556/0.02251, allocations: 278.7 kB / 0.7961 GB, free: 1.562 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.02253, allocations: 8.594 kB / 0.7961 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.02254, allocations: 1.375 kB / 0.7961 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.02307, allocations: 118.4 kB / 0.7962 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.02441, allocations: 105 kB / 0.7963 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.02544, allocations: 0.8819 MB / 0.7971 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.02561, allocations: 19.81 kB / 0.7972 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.02563, allocations: 8.938 kB / 0.7972 GB, free: 412 kB / 0.698 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.0001787/0.02581, allocations: 169.6 kB / 0.7973 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.02587, allocations: 15.95 kB / 0.7973 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.02675, allocations: 278.4 kB / 0.7976 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.02676, allocations: 3.938 kB / 0.7976 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02676, allocations: 0.5 kB / 0.7976 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.02677, allocations: 4 kB / 0.7976 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.02859, allocations: 0.683 MB / 0.7983 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02859, allocations: 4.062 kB / 0.7983 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.02993, allocations: 95.89 kB / 0.7984 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/0.03043, allocations: 115.6 kB / 0.7985 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.03045, allocations: 4 kB / 0.7985 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.03169, allocations: 0.8858 MB / 0.7994 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03169, allocations: 0 / 0.7994 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.03263, allocations: 406.7 kB / 0.7998 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.03265, allocations: 19.77 kB / 0.7998 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.03269, allocations: 4 kB / 0.7998 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.03288, allocations: 15.92 kB / 0.7998 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.03293, allocations: 7.984 kB / 0.7998 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.03295, allocations: 7.984 kB / 0.7998 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001148/0.03306, allocations: 147.2 kB / 0.7999 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.03307, allocations: 4 kB / 0.7999 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005434/0.03361, allocations: 131.6 kB / 0.8001 GB, free: 13.29 MB / 0.7136 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.0005264/0.03413, allocations: 246.7 kB / 0.8003 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008214/0.03496, allocations: 209 kB / 0.8005 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.03496, allocations: 0 / 0.8005 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.03547, allocations: 120 kB / 0.8006 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.03582, allocations: 44.05 kB / 0.8007 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.03664, allocations: 340.2 kB / 0.801 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.03675, allocations: 98.72 kB / 0.8011 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.399e-05/0.03684, allocations: 16.52 kB / 0.8011 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.0369, allocations: 16.5 kB / 0.8011 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.0369, allocations: 0 / 0.8011 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.01069/0.04759, allocations: 4.508 MB / 0.8055 GB, free: 7.715 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] 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.27394778910093]